refactored nodes interface, completed set/get attr methods
[libfirm] / ir / be / bespill.c
index 18f468b..8719cb2 100644 (file)
@@ -13,6 +13,7 @@
 #include "ircons_t.h"
 #include "iredges_t.h"
 #include "debug.h"
+#include "irgwalk.h"
 
 #include "besched.h"
 #include "bespill.h"
@@ -252,8 +253,6 @@ void be_add_reload(spill_env_t *senv, ir_node *to_spill, ir_node *before) {
        spill_info_t templ, *res;
        reloader_t *rel;
 
-//     assert(get_irn_opcode(to_spill) != iro_Unknown);
-
        templ.spilled_node = to_spill;
        templ.reloaders    = NULL;
        res = set_insert(senv->spills, &templ, sizeof(templ), HASH_PTR(to_spill));