projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added Dummy node which does not CSE with anything
[libfirm]
/
ir
/
ir
/
irdump.c
diff --git
a/ir/ir/irdump.c
b/ir/ir/irdump.c
index
62d3734
..
5305cc9
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:
@@
-837,6
+828,9
@@
int dump_node_opcode(FILE *F, ir_node *n)
case iro_DivMod:
fprintf(F, "%s[%s]", get_irn_opname(n), get_mode_name_ex(get_DivMod_resmode(n), &bad));
break;
case iro_DivMod:
fprintf(F, "%s[%s]", get_irn_opname(n), get_mode_name_ex(get_DivMod_resmode(n), &bad));
break;
+ case iro_Builtin:
+ fprintf(F, "%s[%s]", get_irn_opname(n), get_builtin_kind_name(get_Builtin_kind(n)));
+ break;
default:
default_case:
default:
default_case:
@@
-923,7
+917,6
@@
static const pns_lookup_t start_lut[] = {
X(P_frame_base),
X(P_tls),
X(T_args),
X(P_frame_base),
X(P_tls),
X(T_args),
- X(P_value_arg_base)
#undef X
};
#undef X
};
@@
-1099,6
+1092,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);