Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
ffe8c08d
Commit
ffe8c08d
authored
Apr 04, 2008
by
Michael Beck
Browse files
BugFix:
- node were allocated on the wrong obstack when creating a graph copy [r19137]
parent
043afb3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irgraph.c
View file @
ffe8c08d
...
@@ -382,10 +382,9 @@ ir_graph *new_const_code_irg(void) {
...
@@ -382,10 +382,9 @@ ir_graph *new_const_code_irg(void) {
* @param env The copied graph.
* @param env The copied graph.
*/
*/
static
void
copy_all_nodes
(
ir_node
*
n
,
void
*
env
)
{
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_op
*
op
=
get_irn_op
(
n
);
ir_node
*
nn
;
ir_node
*
nn
;
(
void
)
env
;
nn
=
new_ir_node
(
get_irn_dbg_info
(
n
),
nn
=
new_ir_node
(
get_irn_dbg_info
(
n
),
irg
,
irg
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment