ia32: Prevent out-of-bounds access after calling emit_asm_operand().
[libfirm] / ir / be / bespillbelady.c
index f205aa5..277994b 100644 (file)
@@ -28,7 +28,6 @@
 #include <stdbool.h>
 
 #include "obst.h"
-#include "irprintf_t.h"
 #include "irgraph.h"
 #include "irnode.h"
 #include "irmode.h"
@@ -39,6 +38,7 @@
 #include "irprintf.h"
 #include "irnodeset.h"
 #include "irtools.h"
+#include "statev_t.h"
 #include "util.h"
 
 #include "beutil.h"
@@ -805,7 +805,6 @@ static void process_block(ir_node *block)
 
        sched_foreach(block, irn) {
                int i, arity;
-               ir_node *value;
                assert(workset_get_length(ws) <= n_regs);
 
                /* Phis are no real instr (see insert_starters()) */