changeset 2817:f9f40748442f

Made checkcast and instanceof floating.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Mon, 30 May 2011 15:34:30 +0200
parents 5526d82388be
children bf12196e2a60
files graal/GraalCompiler/src/com/sun/c1x/ir/NewInstance.java graal/GraalCompiler/src/com/sun/c1x/ir/TypeCheck.java
diffstat 2 files changed, 2 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/NewInstance.java	Mon May 30 15:28:38 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/ir/NewInstance.java	Mon May 30 15:34:30 2011 +0200
@@ -30,7 +30,7 @@
 /**
  * The {@code NewInstance} instruction represents the allocation of an instance class object.
  */
-public final class NewInstance extends StateSplit {
+public final class NewInstance extends Value {
 
     private static final int INPUT_COUNT = 0;
     private static final int SUCCESSOR_COUNT = 0;
@@ -81,9 +81,4 @@
     public void print(LogStream out) {
         out.print("new instance ").print(CiUtil.toJavaName(instanceClass()));
     }
-
-    @Override
-    public boolean needsStateAfter() {
-        return false;
-    }
 }
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/TypeCheck.java	Mon May 30 15:28:38 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/ir/TypeCheck.java	Mon May 30 15:34:30 2011 +0200
@@ -29,7 +29,7 @@
 /**
  * The {@code TypeCheck} instruction is the base class of casts and instanceof tests.
  */
-public abstract class TypeCheck extends Instruction {
+public abstract class TypeCheck extends Value {
 
     private static final int INPUT_COUNT = 2;
     private static final int INPUT_OBJECT = 0;