Allow spills in amd64_set_frame_entity(), too.
authorChristoph Mallon <christoph.mallon@gmx.de>
Mon, 18 Jun 2012 14:34:52 +0000 (16:34 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Mon, 18 Jun 2012 14:35:19 +0000 (16:35 +0200)
ir/be/amd64/bearch_amd64.c

index d15d664..1a7ea98 100644 (file)
@@ -203,7 +203,7 @@ static void amd64_after_ra_walker(ir_node *block, void *data)
 
 static void amd64_set_frame_entity(ir_node *node, ir_entity *entity)
 {
-       assert(be_is_Reload(node));
+       assert(be_is_Reload(node) || be_is_Spill(node));
        be_node_set_frame_entity(node, entity);
 }