diff graal/GraalCompiler/src/com/sun/c1x/C1XCompilation.java @ 2515:4fdef1464592

Removed extended bytecodes and related HIR instructions.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Apr 2011 15:36:29 +0200
parents 16b9a8b5ad39
children a384fac3fd34
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/C1XCompilation.java	Wed Apr 27 15:12:29 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/C1XCompilation.java	Wed Apr 27 15:36:29 2011 +0200
@@ -34,7 +34,6 @@
 import com.sun.c1x.lir.*;
 import com.sun.c1x.observer.*;
 import com.sun.c1x.value.*;
-import com.sun.cri.bytecode.*;
 import com.sun.cri.ci.*;
 import com.sun.cri.ri.*;
 
@@ -117,14 +116,6 @@
     }
 
     /**
-     * Records that this compilation encountered an instruction (e.g. {@link Bytecodes#UNSAFE_CAST})
-     * that breaks the type safety invariant of the input bytecode.
-     */
-    public void setNotTypesafe() {
-        typesafe = false;
-    }
-
-    /**
      * Checks whether this compilation is for an on-stack replacement.
      *
      * @return {@code true} if this compilation is for an on-stack replacement
@@ -236,14 +227,6 @@
         return hasExceptionHandlers;
     }
 
-    /**
-     * Determines if this compilation has encountered any instructions (e.g. {@link Bytecodes#UNSAFE_CAST})
-     * that break the type safety invariant of the input bytecode.
-     */
-    public boolean isTypesafe() {
-        return typesafe;
-    }
-
     public CiResult compile() {
         CiTargetMethod targetMethod;
         try {