test/compiler/whitebox/MakeMethodNotCompilableTest.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/test/compiler/whitebox/MakeMethodNotCompilableTest.java	Fri Oct 24 11:01:45 2014
--- new/test/compiler/whitebox/MakeMethodNotCompilableTest.java	Fri Oct 24 11:01:45 2014

*** 130,147 **** --- 130,148 ---- WHITE_BOX.clearMethodState(method); if (!isCompilable()) { throw new RuntimeException(method + " is not compilable after clearMethodState()"); } + // Make method not (OSR-)compilable (depending on testCase.isOsr()) makeNotCompilable(); if (isCompilable()) { throw new RuntimeException(method + " must be not compilable"); } + // Try to (OSR-)compile method compile(); checkNotOsrCompiled(); + // Method should not be (OSR-)compiled + checkNotCompiled(testCase.isOsr()); if (isCompilable()) { throw new RuntimeException(method + " must be not compilable"); } // WB.clearMethodState() must reset no-compilable flags WHITE_BOX.clearMethodState(method);

test/compiler/whitebox/MakeMethodNotCompilableTest.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File