src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.test/src/org/graalvm/compiler/replacements/test/ReplacementsParseTest.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
67 import org.graalvm.compiler.phases.common.FloatingReadPhase; |
67 import org.graalvm.compiler.phases.common.FloatingReadPhase; |
68 import org.graalvm.compiler.phases.common.FrameStateAssignmentPhase; |
68 import org.graalvm.compiler.phases.common.FrameStateAssignmentPhase; |
69 import org.graalvm.compiler.phases.common.GuardLoweringPhase; |
69 import org.graalvm.compiler.phases.common.GuardLoweringPhase; |
70 import org.graalvm.compiler.phases.common.LoweringPhase; |
70 import org.graalvm.compiler.phases.common.LoweringPhase; |
71 import org.graalvm.compiler.phases.tiers.HighTierContext; |
71 import org.graalvm.compiler.phases.tiers.HighTierContext; |
72 import org.graalvm.compiler.test.GraalTest; |
72 import org.graalvm.compiler.serviceprovider.JavaVersionUtil; |
73 import jdk.internal.vm.compiler.word.LocationIdentity; |
73 import jdk.internal.vm.compiler.word.LocationIdentity; |
74 import org.junit.Assert; |
74 import org.junit.Assert; |
75 import org.junit.Assume; |
75 import org.junit.Assume; |
76 import org.junit.BeforeClass; |
76 import org.junit.BeforeClass; |
77 import org.junit.Test; |
77 import org.junit.Test; |
373 * constructor is deleted. |
373 * constructor is deleted. |
374 */ |
374 */ |
375 |
375 |
376 @Test |
376 @Test |
377 public void testNextAfter() { |
377 public void testNextAfter() { |
378 Assume.assumeFalse(GraalTest.Java8OrEarlier); |
378 Assume.assumeFalse(JavaVersionUtil.JAVA_SPEC <= 8); |
379 double[] inArray = new double[1024]; |
379 double[] inArray = new double[1024]; |
380 double[] outArray = new double[1024]; |
380 double[] outArray = new double[1024]; |
381 for (int i = 0; i < inArray.length; i++) { |
381 for (int i = 0; i < inArray.length; i++) { |
382 inArray[i] = -0.0; |
382 inArray[i] = -0.0; |
383 } |
383 } |