Testing helps... *yawn*
authorMoritz Kroll <Moritz.Kroll@gmx.de>
Fri, 1 Aug 2008 02:16:23 +0000 (02:16 +0000)
committerMoritz Kroll <Moritz.Kroll@gmx.de>
Fri, 1 Aug 2008 02:16:23 +0000 (02:16 +0000)
[r20875]

ir/lower/lower_switch.c

index a5b8926..21da18e 100644 (file)
@@ -105,7 +105,7 @@ static int should_do_table_switch(ir_node *cond, unsigned spare_size)
 
        /* TODO: Minimum size for jump table? */
        if(get_irn_n_outs(cond) <= 4)
-               return;
+               return 0;
 
        default_pn = get_Cond_defaultProj(cond);