test/compiler/whitebox/MakeMethodNotCompilableTest.java

changeset 7318
c88a4554854c
parent 6353
d559dbbded7a
child 7321
f5f752e74840
equal deleted inserted replaced
7317:063338b89a56 7318:c88a4554854c
136 if (isCompilable()) { 136 if (isCompilable()) {
137 throw new RuntimeException(method + " must be not compilable"); 137 throw new RuntimeException(method + " must be not compilable");
138 } 138 }
139 139
140 compile(); 140 compile();
141 checkNotCompiled(); 141 checkNotOsrCompiled();
142 if (isCompilable()) { 142 if (isCompilable()) {
143 throw new RuntimeException(method + " must be not compilable"); 143 throw new RuntimeException(method + " must be not compilable");
144 } 144 }
145 // WB.clearMethodState() must reset no-compilable flags 145 // WB.clearMethodState() must reset no-compilable flags
146 WHITE_BOX.clearMethodState(method); 146 WHITE_BOX.clearMethodState(method);

mercurial