From: Michael Beck Date: Fri, 30 Jun 2006 13:03:25 +0000 (+0000) Subject: Do NOT emit code for graphs with the supress body flag set X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=dcd285ff08a25c3f7e66f1ed5b283e30ec5a4b5d;p=libfirm Do NOT emit code for graphs with the supress body flag set --- diff --git a/ir/be/bemain.c b/ir/be/bemain.c index 69c442df8..ad51e27f0 100644 --- a/ir/be/bemain.c +++ b/ir/be/bemain.c @@ -380,6 +380,10 @@ static void be_main_loop(FILE *file_handle) be_irg_t birg; optimization_state_t state; + /* do now create a body for graphs that are forced to have no one */ + if (get_irg_inline_property(irg) == irg_inline_forced_no_body) + continue; + /* stop and reset timers */ if (be_options.timing == BE_TIME_ON) { LC_STOP_AND_RESET_TIMER(t_prolog);