# HG changeset patch # User Thomas Wuerthinger # Date 1305117905 -7200 # Node ID f9ae687657e858e07c9f5f4dfd3d5fcc8ad919fa # Parent ccab1d5f345ebbe5ab06d457ed48c42ecc79bac5 Removed unused FatalNonUnimplemented flag and methods. diff -r ccab1d5f345e -r f9ae687657e8 graal/GraalCompiler/src/com/sun/c1x/C1XOptions.java --- 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 = ____; diff -r ccab1d5f345e -r f9ae687657e8 graal/GraalCompiler/src/com/sun/c1x/util/Util.java --- 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 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; }