diff graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/ir/LookupSwitch.java @ 3516:9b59afa78775

Remove copy method from nodes.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Mon, 08 Aug 2011 23:27:54 +0200
parents 76507b87dd25
children 6b841b6b2437
line wrap: on
line diff
--- a/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/ir/LookupSwitch.java	Mon Aug 08 23:12:54 2011 +0200
+++ b/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/ir/LookupSwitch.java	Mon Aug 08 23:27:54 2011 +0200
@@ -83,11 +83,4 @@
         INSTRUCTION.advance(out);
         out.print("default   : ").print(defaultSuccessor());
     }
-
-    @Override
-    public Node copy(Graph into) {
-        LookupSwitch x = new LookupSwitch(null, Arrays.asList(new FixedNodeWithNext[numberOfCases() + 1]), keys.clone(), branchProbability.clone(), into);
-        super.copyInto(x);
-        return x;
-    }
 }