< prev index next >

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

Print this page
rev 56282 : [mq]: graal

*** 1,7 **** /* ! * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 177,187 **** @Test public void testBoxedBooleanAOT() { StructuredGraph result = compile("getBoxedBoolean", true); assertDeepEquals(0, result.getNodes().filter(FloatingReadNode.class).count()); ! assertDeepEquals(0, result.getNodes(PiNode.TYPE).count()); assertDeepEquals(1, getConstantNodes(result).count()); ConstantNode constant = getConstantNodes(result).first(); assertDeepEquals(JavaKind.Object, constant.getStackKind()); JavaConstant c = constant.asJavaConstant(); --- 177,187 ---- @Test public void testBoxedBooleanAOT() { StructuredGraph result = compile("getBoxedBoolean", true); assertDeepEquals(0, result.getNodes().filter(FloatingReadNode.class).count()); ! assertDeepEquals(0, result.getNodes().filter(PiNode.class).count()); assertDeepEquals(1, getConstantNodes(result).count()); ConstantNode constant = getConstantNodes(result).first(); assertDeepEquals(JavaKind.Object, constant.getStackKind()); JavaConstant c = constant.asJavaConstant();
*** 190,200 **** @Test public void testBoxedBoolean() { StructuredGraph result = compile("getBoxedBoolean", false); assertDeepEquals(0, result.getNodes().filter(FloatingReadNode.class).count()); ! assertDeepEquals(0, result.getNodes(PiNode.TYPE).count()); assertDeepEquals(1, getConstantNodes(result).count()); ConstantNode constant = getConstantNodes(result).first(); assertDeepEquals(JavaKind.Object, constant.getStackKind()); JavaConstant c = constant.asJavaConstant(); --- 190,200 ---- @Test public void testBoxedBoolean() { StructuredGraph result = compile("getBoxedBoolean", false); assertDeepEquals(0, result.getNodes().filter(FloatingReadNode.class).count()); ! assertDeepEquals(0, result.getNodes().filter(PiNode.class).count()); assertDeepEquals(1, getConstantNodes(result).count()); ConstantNode constant = getConstantNodes(result).first(); assertDeepEquals(JavaKind.Object, constant.getStackKind()); JavaConstant c = constant.asJavaConstant();
< prev index next >