the delayed nodes are also counted in register pressure, subtract them form there
[libfirm] / ir / be / bespillslots.c
index c353a8a..4459e80 100644 (file)
@@ -5,7 +5,7 @@
  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
  */
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
 #include <stdlib.h>
@@ -98,7 +98,7 @@ static spill_t *get_spill(be_fec_env_t *env, ir_node *node)
  *                                      |_|
  */
 
-static ir_node *get_memory_edge(const ir_node *node)
+static INLINE ir_node *get_memory_edge(const ir_node *node)
 {
        int i, arity;
 
@@ -563,7 +563,6 @@ static void assign_spillslots(be_fec_env_t *env)
                                }
                        }
                } else {
-                       assert(arch_irn_class_is(arch_env, node, spill));
                        arch_set_frame_entity(arch_env, node, slot->entity);
                }
        }