projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48bc3df
)
Fixed assertion: set_irn_node must check the node irgs, not
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 19 Oct 2005 16:50:20 +0000
(16:50 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 19 Oct 2005 16:50:20 +0000
(16:50 +0000)
the current_ir_graph
[r6757]
ir/ir/irnode_t.h
patch
|
blob
|
history
diff --git
a/ir/ir/irnode_t.h
b/ir/ir/irnode_t.h
index
e6fdaae
..
eb141a1
100644
(file)
--- a/
ir/ir/irnode_t.h
+++ b/
ir/ir/irnode_t.h
@@
-497,7
+497,7
@@
_set_irn_link(ir_node *node, void *link) {
assert (node);
/* Link field is used for Phi construction and various optimizations
in iropt. */
- assert(get_irg_phase_state(
current_ir_graph
) != phase_building);
+ assert(get_irg_phase_state(
get_irn_irg(node)
) != phase_building);
node->link = link;
}