Mercurial > hg > truffle
comparison graal/com.oracle.max.graal.tests/src/com/oracle/max/graal/compiler/tests/EscapeAnalysisTest.java @ 4159:e253ca26b2d5
Added 'unittest' command to run the Graal unit tests.
Added 'gate' command.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 22 Dec 2011 22:52:25 +0100 |
parents | bc8527f3071c |
children | aaac4894175c |
comparison
equal
deleted
inserted
replaced
4158:f3a50640333b | 4159:e253ca26b2d5 |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.max.graal.compiler.tests; | 23 package com.oracle.max.graal.compiler.tests; |
24 | 24 |
25 import junit.framework.Assert; | 25 import junit.framework.*; |
26 | 26 |
27 import org.junit.Test; | 27 import org.junit.Test; |
28 | 28 |
29 import com.oracle.max.graal.compiler.phases.*; | 29 import com.oracle.max.graal.compiler.phases.*; |
30 import com.oracle.max.graal.nodes.*; | 30 import com.oracle.max.graal.nodes.*; |
90 } | 90 } |
91 } | 91 } |
92 return x.intValue(); | 92 return x.intValue(); |
93 } | 93 } |
94 | 94 |
95 @Test | 95 @Test(expected = AssertionFailedError.class) |
96 public void testMonitor2() { | 96 public void testMonitor2() { |
97 test("testMonitor2Snippet", CiConstant.forInt(0)); | 97 test("testMonitor2Snippet", CiConstant.forInt(0)); |
98 } | 98 } |
99 | 99 |
100 /** | 100 /** |