projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed 'inline' lossage --flo
[libfirm]
/
ir
/
ir
/
irnode.c
diff --git
a/ir/ir/irnode.c
b/ir/ir/irnode.c
index
1cf2815
..
cfeb23b
100644
(file)
--- a/
ir/ir/irnode.c
+++ b/
ir/ir/irnode.c
@@
-25,9
+25,10
@@
#include "irdump.h"
#include "irflag_t.h"
#include "irop_t.h"
#include "irdump.h"
#include "irflag_t.h"
#include "irop_t.h"
-
#include "irprog_t.h"
#include "irprog_t.h"
+#include "firmstat.h"
+
/* some constants fixing the positions of nodes predecessors
in the in array */
#define CALL_PARAM_OFFSET 2
/* some constants fixing the positions of nodes predecessors
in the in array */
#define CALL_PARAM_OFFSET 2
@@
-135,6
+136,8
@@
new_ir_node (dbg_info *db, ir_graph *irg, ir_node *block, ir_op *op, ir_mode *mo
res->node_nr = get_irp_new_node_nr();
#endif
res->node_nr = get_irp_new_node_nr();
#endif
+ stat_new_node(res);
+
return res;
}
return res;
}
@@
-460,6
+463,13
@@
get_irn_call_attr (ir_node *node)
return node->attr.call.cld_tp = skip_tid(node->attr.call.cld_tp);
}
return node->attr.call.cld_tp = skip_tid(node->attr.call.cld_tp);
}
+INLINE type *
+get_irn_funccall_attr (ir_node *node)
+{
+ assert (node->op == op_FuncCall);
+ return node->attr.call.cld_tp = skip_tid(node->attr.call.cld_tp);
+}
+
INLINE sel_attr
get_irn_sel_attr (ir_node *node)
{
INLINE sel_attr
get_irn_sel_attr (ir_node *node)
{