Mercurial > hg > truffle
comparison graal/com.oracle.graal.hotspot.amd64.test/src/com/oracle/graal/hotspot/amd64/test/CompressedNullCheckTest.java @ 20933:da2251d7d3c5
Cleanup blacklist for SPARC, add Assume to CompressedNullCheckTest check whether UseCompressedOops is enabled and just check if not running on SPARC on NativeFunctionInterfaceTest
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Tue, 14 Apr 2015 17:53:28 +0200 |
parents | 56bcde831179 |
children | 3253fe1bed41 |
comparison
equal
deleted
inserted
replaced
20932:5ad8a163b843 | 20933:da2251d7d3c5 |
---|---|
23 package com.oracle.graal.hotspot.amd64.test; | 23 package com.oracle.graal.hotspot.amd64.test; |
24 | 24 |
25 import org.junit.*; | 25 import org.junit.*; |
26 | 26 |
27 import com.oracle.graal.compiler.test.*; | 27 import com.oracle.graal.compiler.test.*; |
28 import com.oracle.graal.hotspot.*; | |
28 import com.oracle.graal.hotspot.nodes.*; | 29 import com.oracle.graal.hotspot.nodes.*; |
29 import com.oracle.graal.nodes.*; | 30 import com.oracle.graal.nodes.*; |
30 import com.oracle.graal.nodes.calc.*; | 31 import com.oracle.graal.nodes.calc.*; |
31 | 32 |
32 /** | 33 /** |
42 c.i.intValue(); | 43 c.i.intValue(); |
43 } | 44 } |
44 | 45 |
45 @Test | 46 @Test |
46 public void test() { | 47 public void test() { |
48 Assume.assumeTrue(HotSpotGraalRuntime.runtime().getConfig().useCompressedOops); | |
47 test("testSnippet", new Container()); | 49 test("testSnippet", new Container()); |
48 } | 50 } |
49 | 51 |
50 @Override | 52 @Override |
51 protected boolean checkMidTierGraph(StructuredGraph graph) { | 53 protected boolean checkMidTierGraph(StructuredGraph graph) { |