projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
038aa85
)
fix error introduced by r22215
author
Matthias Braun
<matze@braunis.de>
Wed, 24 Sep 2008 09:19:03 +0000
(09:19 +0000)
committer
Matthias Braun
<matze@braunis.de>
Wed, 24 Sep 2008 09:19:03 +0000
(09:19 +0000)
[r22230]
ir/opt/opt_inline.c
patch
|
blob
|
history
diff --git
a/ir/opt/opt_inline.c
b/ir/opt/opt_inline.c
index
b6e368f
..
e482c65
100644
(file)
--- a/
ir/opt/opt_inline.c
+++ b/
ir/opt/opt_inline.c
@@
-2131,8
+2131,11
@@
void inline_functions(int maxsize, int inline_threshold) {
callee = curr_call->callee;
prop = get_irg_inline_property(callee);
- if (prop == irg_inline_forbidden || get_irg_additional_properties(callee) & mtp_property_weak) {
+ if (prop == irg_inline_forbidden
+ || (get_irg_additional_properties(callee) & mtp_property_weak)) {
/* do not inline forbidden / weak graphs */
+ last_call = &curr_call->next;
+ curr_call = curr_call->next;
continue;
}