Mercurial > hg > graal-compiler
comparison c1x4hotspotsrc/HotSpotTest/src/C1XTest.java @ 1423:760213a60e8b
* rewrite of the code installation
* partial support for safepoints
* macro-based CiTargetMethod interface
* code stub support
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Mon, 16 Aug 2010 18:59:36 -0700 |
parents | |
children | efba53f86c4f |
comparison
equal
deleted
inserted
replaced
1422:3483ec571caf | 1423:760213a60e8b |
---|---|
1 import java.io.IOException; | |
2 | |
3 public class C1XTest { | |
4 | |
5 public static void main(String[] args) throws IOException { | |
6 /* | |
7 * new C1XCompiledTest.C(); System.out.println("--- instanceof A"); | |
8 * System.out.println(new C1XCompiledTest().doCalc(10, 3, | |
9 * C1XTest.class)); System.out.println("B instanceof A"); | |
10 * System.out.println(new C1XCompiledTest().doCalc(10, 3, new | |
11 * C1XCompiledTest.B())); System.out.println("A instanceof A"); | |
12 * System.out.println(new C1XCompiledTest().doCalc(10, 3, new | |
13 * C1XCompiledTest.A())); System.out.println("end"); | |
14 */ | |
15 new C1XCompiledTest.B(); | |
16 System.out.println(new C1XCompiledTest().doCalc(10, 3, C1XTest.class)); | |
17 /* | |
18 * for (int l = 0; l < 4; l++) { try { System.out.println(new | |
19 * C1XCompiledTest().doCalc(new int[l])); } catch (Throwable t) { | |
20 * t.printStackTrace(); }} | |
21 */ | |
22 } | |
23 } |