diff graal/GraalCompiler/src/com/sun/c1x/ir/Local.java @ 2821:015be60afcf3

removed flags from Value class
author Lukas Stadler <lukas.stadler@jku.at>
date Mon, 30 May 2011 17:05:06 +0200
parents c3f64b66fc78
children bd17ac598c6e
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/Local.java	Mon May 30 16:24:22 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/ir/Local.java	Mon May 30 17:05:06 2011 +0200
@@ -90,4 +90,13 @@
     protected int successorCount() {
         return super.successorCount() + SUCCESSOR_COUNT;
     }
+
+    @Override
+    public Node copy(Graph into) {
+        Local x = new Local(kind, index, into);
+        x.setDeclaredType(declaredType());
+        return x;
+    }
+
+
 }