Mark memory using nodes with "uses_memory".
authorChristoph Mallon <christoph.mallon@gmx.de>
Mon, 18 Jun 2012 12:16:27 +0000 (14:16 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Wed, 28 Nov 2012 10:25:34 +0000 (11:25 +0100)
ir/be/amd64/amd64_spec.pl

index cdc6d97..efca79a 100644 (file)
@@ -83,6 +83,7 @@ $default_copy_attr = "amd64_copy_attr";
 
 %nodes = (
 Push => {
+       op_flags  => [ "uses_memory" ],
        state     => "exc_pinned",
        reg_req   => { in => [ "gp", "gp", "none", "gp", "rsp" ], out => [ "rsp:I|S", "none" ] },
        ins       => [ "base", "index", "mem", "val", "stack" ],