8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 package org.graalvm.compiler.hotspot.test;
25
26 import org.junit.Assume;
27 import org.junit.Test;
28
29 import org.graalvm.compiler.hotspot.CompressEncoding;
30 import org.graalvm.compiler.hotspot.nodes.CompressionNode;
31 import org.graalvm.compiler.nodes.ValueNode;
32 import org.graalvm.compiler.nodes.debug.OpaqueNode;
33 import org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration;
34 import org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext;
35 import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin;
36 import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins;
37 import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins.Registration;
38
39 import jdk.vm.ci.meta.JavaKind;
40 import jdk.vm.ci.meta.ResolvedJavaMethod;
41
42 public class DataPatchTest extends HotSpotGraalCompilerTest {
43
44 public static double doubleSnippet() {
45 return 84.72;
46 }
47
48 @Test
49 public void doubleTest() {
|
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 package org.graalvm.compiler.hotspot.test;
25
26 import org.junit.Assume;
27 import org.junit.Test;
28 import org.graalvm.compiler.core.common.CompressEncoding;
29 import org.graalvm.compiler.hotspot.nodes.CompressionNode;
30 import org.graalvm.compiler.nodes.ValueNode;
31 import org.graalvm.compiler.nodes.debug.OpaqueNode;
32 import org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration;
33 import org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext;
34 import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin;
35 import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins;
36 import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins.Registration;
37
38 import jdk.vm.ci.meta.JavaKind;
39 import jdk.vm.ci.meta.ResolvedJavaMethod;
40
41 public class DataPatchTest extends HotSpotGraalCompilerTest {
42
43 public static double doubleSnippet() {
44 return 84.72;
45 }
46
47 @Test
48 public void doubleTest() {
|