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
140e0661
Commit
140e0661
authored
Feb 07, 2016
by
Christoph Mallon
Browse files
return: Simply use set_irn_in() instead of replacing the end block by a new one.
parent
43d387ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/return.c
View file @
140e0661
...
@@ -315,7 +315,7 @@ void normalize_n_returns(ir_graph *irg)
...
@@ -315,7 +315,7 @@ void normalize_n_returns(ir_graph *irg)
endbl_in
[
i
]
=
final
;
endbl_in
[
i
]
=
final
;
}
}
exchange
(
endbl
,
new_r_Block
(
irg
,
n_finals
,
endbl_in
)
)
;
set_irn_in
(
endbl
,
n_finals
,
endbl_in
);
ir_free_resources
(
irg
,
IR_RESOURCE_IRN_LINK
);
ir_free_resources
(
irg
,
IR_RESOURCE_IRN_LINK
);
/* Invalidate analysis information:
/* Invalidate analysis information:
...
...
Write
Preview
Markdown
is supported
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