Mercurial > hg > truffle
comparison graal/com.oracle.max.graal.tests/src/com/oracle/graal/compiler/tests/CompiledMethodTest.java @ 5060:4ed4295ce15f
Update import statements.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 08 Mar 2012 19:11:12 +0100 |
parents | ed559a528128 |
children |
comparison
equal
deleted
inserted
replaced
5059:ed559a528128 | 5060:4ed4295ce15f |
---|---|
18 * | 18 * |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 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 | 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.graal.compiler.tests; |
24 | 24 |
25 import java.lang.reflect.*; | 25 import java.lang.reflect.*; |
26 | 26 |
27 import org.junit.*; | 27 import org.junit.*; |
28 | 28 |
29 import com.oracle.max.cri.ci.*; | 29 import com.oracle.max.cri.ci.*; |
30 import com.oracle.max.cri.ri.*; | 30 import com.oracle.max.cri.ri.*; |
31 import com.oracle.max.cri.ri.RiCompiledMethod.MethodInvalidatedException; | 31 import com.oracle.max.cri.ri.RiCompiledMethod.MethodInvalidatedException; |
32 import com.oracle.max.graal.compiler.phases.*; | 32 import com.oracle.graal.compiler.phases.*; |
33 import com.oracle.max.graal.graph.*; | 33 import com.oracle.graal.graph.*; |
34 import com.oracle.max.graal.java.*; | 34 import com.oracle.graal.java.*; |
35 import com.oracle.max.graal.nodes.*; | 35 import com.oracle.graal.nodes.*; |
36 | 36 |
37 /** | 37 /** |
38 * In the following tests, the usages of local variable "a" are replaced with the integer constant 0. Then | 38 * In the following tests, the usages of local variable "a" are replaced with the integer constant 0. Then |
39 * canonicalization is applied and it is verified that the resulting graph is equal to the graph of the method that just | 39 * canonicalization is applied and it is verified that the resulting graph is equal to the graph of the method that just |
40 * has a "return 1" statement in it. | 40 * has a "return 1" statement in it. |