projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- implemented remove_End_Bads_and_doublets()
[libfirm]
/
ir
/
ir
/
irdump.c
diff --git
a/ir/ir/irdump.c
b/ir/ir/irdump.c
index
6a9bb9c
..
323f9fd
100644
(file)
--- a/
ir/ir/irdump.c
+++ b/
ir/ir/irdump.c
@@
-25,12
+25,8
@@
*/
#include "config.h"
*/
#include "config.h"
-#ifdef HAVE_STRING_H
#include <string.h>
#include <string.h>
-#endif
-#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#include <stdlib.h>
-#endif
#include <stdarg.h>
#include "firm_common_t.h"
#include <stdarg.h>
#include "firm_common_t.h"
@@
-732,11
+728,6
@@
int dump_node_opcode(FILE *F, ir_node *n)
/* implementation for default nodes */
switch (get_irn_opcode(n)) {
/* implementation for default nodes */
switch (get_irn_opcode(n)) {
-
- case iro_Const:
- ir_fprintf(F, "%T", get_Const_tarval(n));
- break;
-
case iro_SymConst:
switch (get_SymConst_kind(n)) {
case symconst_addr_name:
case iro_SymConst:
switch (get_SymConst_kind(n)) {
case symconst_addr_name:
@@
-1099,6
+1090,10
@@
dump_node_nodeattr(FILE *F, ir_node *n)
}
break;
}
break;
+ case iro_Const:
+ ir_fprintf(F, "%T ", get_Const_tarval(n));
+ break;
+
case iro_Proj:
pred = get_Proj_pred(n);
proj_nr = get_Proj_proj(n);
case iro_Proj:
pred = get_Proj_pred(n);
proj_nr = get_Proj_proj(n);
@@
-1226,7
+1221,7
@@
static void dump_node_vcgattr(FILE *F, ir_node *node, ir_node *local, int bad)
return;
}
return;
}
- mode = get_irn_mode(n
ode
);
+ mode = get_irn_mode(n);
if(mode == mode_M) {
print_vcg_color(F, ird_color_memory);
return;
if(mode == mode_M) {
print_vcg_color(F, ird_color_memory);
return;