projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
702fe1d
)
- workround for inline of got inlined: we cannot
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 15 Aug 2008 16:43:58 +0000
(16:43 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 15 Aug 2008 16:43:58 +0000
(16:43 +0000)
optimize graphs that might still be inlined because the meta-information is invalided then,
do that as an additional step
[r21200]
ir/opt/opt_inline.c
patch
|
blob
|
history
diff --git
a/ir/opt/opt_inline.c
b/ir/opt/opt_inline.c
index
315632d
..
60ff552
100644
(file)
--- a/
ir/opt/opt_inline.c
+++ b/
ir/opt/opt_inline.c
@@
-2164,6
+2164,12
@@
void inline_functions(int maxsize, int inline_threshold) {
curr_call = curr_call->next;
}
curr_call = curr_call->next;
}
+ }
+
+ for (i = 0; i < n_irgs; ++i) {
+ ir_graph *irg = get_irp_irg(i);
+
+ env = get_irg_link(irg);
if (env->got_inline) {
/* this irg got calls inlined: optimize it */
if (env->got_inline) {
/* this irg got calls inlined: optimize it */