Do NOT emit code for graphs with the supress body flag set
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 30 Jun 2006 13:03:25 +0000 (13:03 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 30 Jun 2006 13:03:25 +0000 (13:03 +0000)
ir/be/bemain.c

index 69c442d..ad51e27 100644 (file)
@@ -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);