Mercurial > hg > truffle
comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMEntriesNative.java @ 1421:6223633ce7dd
changed VMExit/VMEntries to non-static, added eclipse c++ project, CIR interface changes
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Fri, 23 Jul 2010 15:53:02 -0700 |
parents | c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMEntries.java@44efca8a02d6 |
children | 3483ec571caf |
comparison
equal
deleted
inserted
replaced
1420:44efca8a02d6 | 1421:6223633ce7dd |
---|---|
1 package com.sun.hotspot.c1x; | |
2 | |
3 import com.sun.cri.ri.RiConstantPool; | |
4 import com.sun.cri.ri.RiField; | |
5 import com.sun.cri.ri.RiMethod; | |
6 import com.sun.cri.ri.RiSignature; | |
7 import com.sun.cri.ri.RiType; | |
8 | |
9 public class VMEntriesNative implements VMEntries { | |
10 | |
11 @Override | |
12 public native byte[] RiMethod_code(Object methodOop); | |
13 | |
14 @Override | |
15 public native int RiMethod_maxStackSize(Object methodOop); | |
16 | |
17 @Override | |
18 public native int RiMethod_maxLocals(Object methodOop); | |
19 | |
20 @Override | |
21 public native RiType RiMethod_holder(Object methodOop); | |
22 | |
23 @Override | |
24 public native String RiMethod_signature(Object methodOop); | |
25 | |
26 @Override | |
27 public native String RiMethod_name(Object methodOop); | |
28 | |
29 @Override | |
30 public native RiType RiSignature_lookupType(String returnType, Object accessingClass); | |
31 | |
32 @Override | |
33 public native String RiSignature_symbolToString(Object symbolOop); | |
34 | |
35 @Override | |
36 public native Class< ? > RiType_javaClass(Object klassOop); | |
37 | |
38 @Override | |
39 public native String RiType_name(Object klassOop); | |
40 | |
41 @Override | |
42 public native Object RiConstantPool_lookupConstant(Object constantPoolOop, int cpi); | |
43 | |
44 @Override | |
45 public native RiMethod RiConstantPool_lookupMethod(Object constantPoolOop, int cpi, byte byteCode); | |
46 | |
47 @Override | |
48 public native RiSignature RiConstantPool_lookupSignature(Object constantPoolOop, int cpi); | |
49 | |
50 @Override | |
51 public native RiType RiConstantPool_lookupType(Object constantPoolOop, int cpi); | |
52 | |
53 @Override | |
54 public native RiField RiConstantPool_lookupField(Object constantPoolOop, int cpi); | |
55 | |
56 @Override | |
57 public native RiType findRiType(Object holderKlassOop); | |
58 | |
59 @Override | |
60 public native RiConstantPool RiRuntime_getConstantPool(Object klassOop); | |
61 | |
62 @Override | |
63 public native boolean RiType_isArrayClass(Object klassOop); | |
64 | |
65 @Override | |
66 public native boolean RiType_isInstanceClass(Object klassOop); | |
67 | |
68 @Override | |
69 public native boolean RiType_isInterface(Object klassOop); | |
70 | |
71 @Override | |
72 public native int RiMethod_accessFlags(Object methodOop); | |
73 | |
74 @Override | |
75 public native void installCode(HotSpotTargetMethod targetMethod); | |
76 | |
77 @Override | |
78 public native HotSpotVMConfig getConfiguration(); | |
79 } |