projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove some flags, ported some phases to new debug interface
[libfirm]
/
ir
/
ir
/
irprog_t.h
diff --git
a/ir/ir/irprog_t.h
b/ir/ir/irprog_t.h
index
7614348
..
2ceb522
100644
(file)
--- a/
ir/ir/irprog_t.h
+++ b/
ir/ir/irprog_t.h
@@
-120,6
+120,12
@@
get_irp_new_node_nr(void) {
}
#endif /* DEBUG_libfirm */
+static INLINE int
+get_irp_new_irg_idx(void) {
+ assert(irp);
+ return irp->max_irg_idx++;
+}
+
static INLINE ir_graph *
_get_const_code_irg(void) {
return irp->const_code_irg;