Mercurial > hg > graal-compiler
comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMEntries.java @ 1416:1b41af477605
Added HotSpotVM project Java source files.
author | Thomas Wuerthinger <thomas.wuerthinger@gmail.com> |
---|---|
date | Wed, 23 Jun 2010 16:36:58 +0200 |
parents | |
children | 7bf6a77b9c5a |
comparison
equal
deleted
inserted
replaced
1415:712c7ff1afc1 | 1416:1b41af477605 |
---|---|
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 VMEntries { | |
10 public static native byte[] RiMethod_code(Object methodOop); | |
11 public static native int RiMethod_maxStackSize(Object methodOop); | |
12 public static native int RiMethod_maxLocals(Object methodOop); | |
13 public static native RiType RiMethod_holder(Object methodOop); | |
14 public static native String RiMethod_signature(Object methodOop); | |
15 public static native String RiMethod_name(Object methodOop); | |
16 public static native RiType RiSignature_lookupType(String returnType, Object accessingClass); | |
17 public static native String RiSignature_symbolToString(Object symbolOop); | |
18 public static native Class<?> RiType_javaClass(Object klassOop); | |
19 public static native String RiType_name(Object klassOop); | |
20 public static native Object RiConstantPool_lookupConstant(Object constantPoolOop, int cpi); | |
21 public static native RiMethod RiConstantPool_lookupMethod(Object constantPoolOop, int cpi, byte byteCode); | |
22 public static native RiSignature RiConstantPool_lookupSignature(Object constantPoolOop, int cpi); | |
23 public static native RiType RiConstantPool_lookupType(Object constantPoolOop, int cpi); | |
24 public static native RiField RiConstantPool_lookupField(Object constantPoolOop, int cpi); | |
25 public static native RiType findRiType(Object holderKlassOop); | |
26 public static native RiConstantPool RiRuntime_getConstantPool(Object klassOop); | |
27 public static native boolean RiType_isArrayClass(Object klassOop); | |
28 public static native boolean RiType_isInstanceClass(Object klassOop); | |
29 public static native boolean RiType_isInterface(Object klassOop); | |
30 public static native int RiMethod_accessFlags(Object methodOop); | |
31 public static native void installCode(Object methodOop, byte[] code, int frameSize); | |
32 } |