< prev index next >

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

Print this page
rev 52509 : [mq]: graal


  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 
  25 
  26 package org.graalvm.compiler.hotspot.test;
  27 
  28 import org.graalvm.compiler.core.common.CompressEncoding;
  29 import org.graalvm.compiler.hotspot.nodes.HotSpotCompressionNode;
  30 import org.graalvm.compiler.nodes.ValueNode;
  31 import org.graalvm.compiler.nodes.debug.OpaqueNode;
  32 import org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext;
  33 import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin;
  34 import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins;
  35 import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins.Registration;
  36 import org.junit.Assume;
  37 import org.junit.Test;
  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() {
  50         test("doubleSnippet");
  51     }




  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 
  25 
  26 package org.graalvm.compiler.hotspot.test;
  27 
  28 import org.graalvm.compiler.core.common.CompressEncoding;
  29 import org.graalvm.compiler.hotspot.nodes.HotSpotCompressionNode;
  30 import org.graalvm.compiler.nodes.ValueNode;
  31 import org.graalvm.compiler.nodes.extended.OpaqueNode;
  32 import org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext;
  33 import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin;
  34 import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins;
  35 import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins.Registration;
  36 import org.junit.Assume;
  37 import org.junit.Test;
  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() {
  50         test("doubleSnippet");
  51     }


< prev index next >