never set the startblock to bad (even without the self-referencing loop)
[libfirm] / ir / ir / irphase.c
index 4879a97..60a8ecf 100644 (file)
@@ -10,7 +10,7 @@
  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
  */
 
-#ifdef _HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
@@ -20,7 +20,7 @@
 
 phase_t *phase_init(phase_t *ph, const char *name, ir_graph *irg, unsigned growth_factor, phase_irn_data_init_t *data_init)
 {
-       assert(growth_factor >= 1.0 && "growth factor must greater or equal to 1.0");
+       assert(growth_factor >= 256 && "growth factor must greater or equal to 256/256");
        assert(data_init && "You must provide a data constructor");
 
        obstack_init(&ph->obst);