projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62361a4
)
Added CSE debug option
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 6 Oct 2004 08:19:07 +0000
(08:19 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 6 Oct 2004 08:19:07 +0000
(08:19 +0000)
[r4057]
ir/ir/iropt_dbg.h
patch
|
blob
|
history
diff --git
a/ir/ir/iropt_dbg.h
b/ir/ir/iropt_dbg.h
index
11983b9
..
d71d66d
100644
(file)
--- a/
ir/ir/iropt_dbg.h
+++ b/
ir/ir/iropt_dbg.h
@@
-158,3
+158,12
@@
stat_merge_nodes(&n, 1, ons, SIZ(ons), STAT_OPT_ID); \
__dbg_info_merge_sets(&n, 1, ons, SIZ(ons), dbg_opt_auxnode); \
} while(0)
+
+#define DBG_OPT_CSE(oldn, n) \
+ do { \
+ ir_node *ons[2]; \
+ ons[0] = oldn; \
+ ons[1] = n; \
+ stat_merge_nodes(&n, 1, ons, SIZ(ons), STAT_OPT_CSE); \
+ __dbg_info_merge_sets(&n, 1, ons, SIZ(ons), dbg_opt_cse); \
+ } while(0)