Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/util/Util.java @ 2651:f9ae687657e8
Removed unused FatalNonUnimplemented flag and methods.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 11 May 2011 14:45:05 +0200 |
parents | 16b9a8b5ad39 |
children | 43ffa0e47a46 |
line wrap: on
line diff
--- 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; }