projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41cd913
)
do not use new_Bad(), as this depends on current_ir_graph, cast
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 8 Jan 2008 16:26:16 +0000
(16:26 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 8 Jan 2008 16:26:16 +0000
(16:26 +0000)
[r17221]
ir/ir/irnode.c
patch
|
blob
|
history
diff --git
a/ir/ir/irnode.c
b/ir/ir/irnode.c
index
987fea1
..
997318e
100644
(file)
--- a/
ir/ir/irnode.c
+++ b/
ir/ir/irnode.c
@@
-884,7
+884,7
@@
ir_node *get_irn_MacroBlock(const ir_node *n) {
n = get_nodes_block(n);
/* if the Block is Bad, do NOT try to get it's MB, it will fail. */
if (is_Bad(n))
- return
new_Bad()
;
+ return
(ir_node *)n
;
}
return get_Block_MacroBlock(n);
}