irnode: Remove unnecessary skip_Proj() from get_Block_cfgpred_block_().
[libfirm] / ir / ana / execfreq.c
index 35c5c65..d32569d 100644 (file)
@@ -35,7 +35,7 @@
 #include "set.h"
 #include "hashptr.h"
 #include "debug.h"
-#include "statev.h"
+#include "statev_t.h"
 #include "dfs_t.h"
 #include "absgraph.h"
 
@@ -240,7 +240,8 @@ void ir_estimate_execfreq(ir_graph *irg)
 
        assure_irg_properties(irg,
                IR_GRAPH_PROPERTY_CONSISTENT_OUT_EDGES
-               | IR_GRAPH_PROPERTY_CONSISTENT_LOOPINFO);
+               | IR_GRAPH_PROPERTY_CONSISTENT_LOOPINFO
+               | IR_GRAPH_PROPERTY_NO_UNREACHABLE_CODE);
 
        /* compute a DFS.
         * using a toposort on the CFG (without back edges) will propagate