changeset 2651:f9ae687657e8

Removed unused FatalNonUnimplemented flag and methods.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 11 May 2011 14:45:05 +0200
parents ccab1d5f345e
children 6d19b4f476db
files graal/GraalCompiler/src/com/sun/c1x/C1XOptions.java graal/GraalCompiler/src/com/sun/c1x/util/Util.java
diffstat 2 files changed, 0 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/C1XOptions.java	Wed May 11 14:43:20 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/C1XOptions.java	Wed May 11 14:45:05 2011 +0200
@@ -52,8 +52,6 @@
 
     // debugging settings
     public static boolean VerifyPointerMaps                  = ____;
-    public static boolean PinAllInstructions                 = ____;
-    public static boolean FatalUnimplemented                 = ____;
     public static int     MethodEndBreakpointGuards          = 0;
     public static boolean ZapStackOnMethodEntry              = ____;
     public static boolean StressLinearScan                   = ____;
--- a/graal/GraalCompiler/src/com/sun/c1x/util/Util.java	Wed May 11 14:43:20 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/util/Util.java	Wed May 11 14:45:05 2011 +0200
@@ -304,19 +304,6 @@
         return result;
     }
 
-    public static <T> T nonFatalUnimplemented(T val) {
-        if (C1XOptions.FatalUnimplemented) {
-            throw new Error("unimplemented");
-        }
-        return val;
-    }
-
-    public static void nonFatalUnimplemented() {
-        if (C1XOptions.FatalUnimplemented) {
-            throw new Error("unimplemented");
-        }
-    }
-
     public static boolean isShiftCount(int x) {
         return 0 <= x && x < 32;
     }