From: Matthias Braun Date: Wed, 24 Sep 2008 09:19:03 +0000 (+0000) Subject: fix error introduced by r22215 X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=9d47b45752eb1ebdc5275a3399a0666082b67b61;p=libfirm fix error introduced by r22215 [r22230] --- diff --git a/ir/opt/opt_inline.c b/ir/opt/opt_inline.c index b6e368fee..e482c65a8 100644 --- 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; }