< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/hotspot/test/JVMCIInfopointErrorTest.java

Print this page
rev 52509 : [mq]: graal

*** 146,156 **** TestNode test = graph.add(new TestNode(spec)); graph.addAfterFixed(graph.start(), test); CompilationResult compResult = compile(method, graph); CodeCacheProvider codeCache = getCodeCache(); ! HotSpotCompiledCode compiledCode = HotSpotCompiledCodeBuilder.createCompiledCode(codeCache, method, null, compResult); codeCache.addCode(method, compiledCode, null, null); } @Test(expected = Error.class) public void testInvalidShortOop() { --- 146,156 ---- TestNode test = graph.add(new TestNode(spec)); graph.addAfterFixed(graph.start(), test); CompilationResult compResult = compile(method, graph); CodeCacheProvider codeCache = getCodeCache(); ! HotSpotCompiledCode compiledCode = HotSpotCompiledCodeBuilder.createCompiledCode(codeCache, method, null, compResult, getInitialOptions()); codeCache.addCode(method, compiledCode, null, null); } @Test(expected = Error.class) public void testInvalidShortOop() {
< prev index next >