Mercurial > hg > graal-jvmci-8
view src/share/vm/c1x/c1x_VMEntries.hpp @ 1418:55ac38887415
modifications for linux: argument register layout, makefile
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 09 Jul 2010 16:33:03 -0700 |
parents | 712c7ff1afc1 |
children | 7bf6a77b9c5a |
line wrap: on
line source
/* * Copyright 2000-2010 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, * CA 95054 USA or visit www.sun.com if you need additional information or * have any questions. * */ #ifndef _Included_com_sun_hotspot_c1x_VMEntries #define _Included_com_sun_hotspot_c1x_VMEntries #define CC (char*) /*cast a literal from (const char*)*/ #define FN_PTR(f) CAST_FROM_FN_PTR(void*, &f) /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiMethod_code * Signature: (Ljava/lang/Object;)[B */ JNIEXPORT jbyteArray JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1code (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiMethod_maxStackSize * Signature: (Ljava/lang/Object;)I */ JNIEXPORT jint JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1maxStackSize (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiMethod_maxLocals * Signature: (Ljava/lang/Object;)I */ JNIEXPORT jint JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1maxLocals (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiMethod_holder * Signature: (Ljava/lang/Object;)Lcom/sun/cri/ri/RiType; */ JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1holder (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiMethod_signature * Signature: (Ljava/lang/Object;)Lcom/sun/cri/ri/RiSignature; */ JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1signature (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiMethod_name * Signature: (Ljava/lang/Object;)Ljava/lang/String; */ JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1name (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiSignature_lookupType * Signature: (Ljava/lang/String;Lcom/sun/cri/ri/RiType;)Lcom/sun/cri/ri/RiType; */ JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiSignature_1lookupType (JNIEnv *, jclass, jstring, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiSignature_symbolToString * Signature: (Ljava/lang/Object;)Ljava/lang/String; */ JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiSignature_1symbolToString (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiType_javaClass * Signature: (Ljava/lang/Object;)Ljava/lang/Class; */ JNIEXPORT jclass JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1javaClass (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiType_name * Signature: (Ljava/lang/Object;)Ljava/lang/String; */ JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1name (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiConstantPool_lookupConstant * Signature: (Ljava/lang/Object;I)Ljava/lang/Object; */ JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupConstant (JNIEnv *, jclass, jobject, jint); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiConstantPool_lookupMethod * Signature: (Ljava/lang/Object;I)Lcom/sun/cri/ri/RiMethod; */ JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupMethod (JNIEnv *, jclass, jobject, jint, jbyte); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiConstantPool_lookupSignature * Signature: (Ljava/lang/Object;I)Lcom/sun/cri/ri/RiSignature; */ JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupSignature (JNIEnv *, jclass, jobject, jint); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiConstantPool_lookupType * Signature: (Ljava/lang/Object;I)Lcom/sun/cri/ri/RiType; */ JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupType (JNIEnv *, jclass, jobject, jint); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiConstantPool_lookupField * Signature: (Ljava/lang/Object;I)Lcom/sun/cri/ri/RiField; */ JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupField (JNIEnv *, jclass, jobject, jint); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: findRiType * Signature: (Ljava/lang/Object;)Lcom/sun/cri/ri/RiType; */ JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_findRiType (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiRuntime_getConstantPool * Signature: (Ljava/lang/Object;)Lcom/sun/cri/ri/RiConstantPool; */ JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiRuntime_1getConstantPool (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiType_isArrayClass * Signature: (Ljava/lang/Object;)Z */ JNIEXPORT jboolean JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1isArrayClass (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiType_isInstanceClass * Signature: (Ljava/lang/Object;)Z */ JNIEXPORT jboolean JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1isInstanceClass (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiType_isInterface * Signature: (Ljava/lang/Object;)Z */ JNIEXPORT jboolean JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1isInterface (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: RiMethod_accessFlags * Signature: (Ljava/lang/Object;)I */ JNIEXPORT jint JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1accessFlags (JNIEnv *, jclass, jobject); /* * Class: com_sun_hotspot_c1x_VMEntries * Method: installCode * Signature: (Ljava/lang/Object;[BI)V */ JNIEXPORT void JNICALL Java_com_sun_hotspot_c1x_VMEntries_installCode (JNIEnv *, jclass, jobject, jbyteArray, jint); extern JNINativeMethod VMEntries_methods[]; int VMEntries_methods_count(); #endif