diff graal/GraalCompiler/src/com/sun/c1x/ir/NewArray.java @ 2816:5526d82388be

Made more nodes floating (including the allocation nodes NewInstance, NewArray, and NewMultiArray).
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Mon, 30 May 2011 15:28:38 +0200
parents 440ceca8e3d7
children 015be60afcf3 ac4b086cbd72
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/NewArray.java	Mon May 30 15:24:44 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/ir/NewArray.java	Mon May 30 15:28:38 2011 +0200
@@ -28,7 +28,7 @@
 /**
  * The {@code NewArray} class is the base of all instructions that allocate arrays.
  */
-public abstract class NewArray extends StateSplit {
+public abstract class NewArray extends Value {
 
     private static final int INPUT_COUNT = 1;
     private static final int INPUT_LENGTH = 0;
@@ -69,9 +69,4 @@
         setFlag(Flag.NonNull);
         setLength(length);
     }
-
-    @Override
-    public boolean needsStateAfter() {
-        return false;
-    }
 }