projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
043afb3
)
BugFix:
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 4 Apr 2008 19:01:48 +0000
(19:01 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 4 Apr 2008 19:01:48 +0000
(19:01 +0000)
- node were allocated on the wrong obstack when creating a graph copy
[r19137]
ir/ir/irgraph.c
patch
|
blob
|
history
diff --git
a/ir/ir/irgraph.c
b/ir/ir/irgraph.c
index
18cebb5
..
5bdf76c
100644
(file)
--- a/
ir/ir/irgraph.c
+++ b/
ir/ir/irgraph.c
@@
-382,10
+382,9
@@
ir_graph *new_const_code_irg(void) {
* @param env The copied graph.
*/
static void copy_all_nodes(ir_node *n, void *env) {
- ir_graph *irg =
current_ir_graph
;
+ ir_graph *irg =
env
;
ir_op *op = get_irn_op(n);
ir_node *nn;
- (void) env;
nn = new_ir_node(get_irn_dbg_info(n),
irg,