Mercurial > hg > truffle
comparison src/share/vm/graal/graalCompilerToVM.cpp @ 5541:b4c406861c33
More renamings to drop Ri* prefix completely. Deleted graph.BitMap class and replaced with java.util.BitSet.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 09 Jun 2012 16:52:12 +0200 |
parents | a891c53a295b |
children | 20e390e09717 |
comparison
equal
deleted
inserted
replaced
5540:a891c53a295b | 5541:b4c406861c33 |
---|---|
665 Handle name = VmIds::toString<Handle>(arr->name(), CHECK_NULL); | 665 Handle name = VmIds::toString<Handle>(arr->name(), CHECK_NULL); |
666 assert(arr->oop_is_array(), ""); | 666 assert(arr->oop_is_array(), ""); |
667 return JNIHandles::make_local(THREAD, GraalCompiler::createHotSpotTypeResolved(arr, name, THREAD)()); | 667 return JNIHandles::make_local(THREAD, GraalCompiler::createHotSpotTypeResolved(arr, name, THREAD)()); |
668 } | 668 } |
669 | 669 |
670 // public RiResolvedField[] RiType_fields(HotSpotTypeResolved klass); | 670 // public ResolvedJavaField[] RiType_fields(HotSpotTypeResolved klass); |
671 JNIEXPORT jobject JNICALL Java_com_oracle_graal_hotspot_bridge_CompilerToVMImpl_RiType_1fields(JNIEnv *, jobject, jobject klass) { | 671 JNIEXPORT jobject JNICALL Java_com_oracle_graal_hotspot_bridge_CompilerToVMImpl_RiType_1fields(JNIEnv *, jobject, jobject klass) { |
672 TRACE_graal_3("CompilerToVM::RiType_fields"); | 672 TRACE_graal_3("CompilerToVM::RiType_fields"); |
673 VM_ENTRY_MARK; | 673 VM_ENTRY_MARK; |
674 ResourceMark rm; | 674 ResourceMark rm; |
675 | 675 |
1119 | 1119 |
1120 #define CC (char*) /*cast a literal from (const char*)*/ | 1120 #define CC (char*) /*cast a literal from (const char*)*/ |
1121 #define FN_PTR(f) CAST_FROM_FN_PTR(void*, &(Java_com_oracle_graal_hotspot_bridge_CompilerToVMImpl_##f)) | 1121 #define FN_PTR(f) CAST_FROM_FN_PTR(void*, &(Java_com_oracle_graal_hotspot_bridge_CompilerToVMImpl_##f)) |
1122 | 1122 |
1123 #define PROXY "J" | 1123 #define PROXY "J" |
1124 #define TYPE "Lcom/oracle/graal/api/meta/RiType;" | 1124 #define TYPE "Lcom/oracle/graal/api/meta/JavaType;" |
1125 #define RESOLVED_TYPE "Lcom/oracle/graal/hotspot/ri/HotSpotTypeResolved;" | 1125 #define RESOLVED_TYPE "Lcom/oracle/graal/hotspot/ri/HotSpotTypeResolved;" |
1126 #define METHOD "Lcom/oracle/graal/api/meta/RiMethod;" | 1126 #define METHOD "Lcom/oracle/graal/api/meta/JavaMethod;" |
1127 #define RESOLVED_METHOD "Lcom/oracle/graal/hotspot/ri/HotSpotMethodResolved;" | 1127 #define RESOLVED_METHOD "Lcom/oracle/graal/hotspot/ri/HotSpotMethodResolved;" |
1128 #define REFLECT_METHOD "Ljava/lang/reflect/Method;" | 1128 #define REFLECT_METHOD "Ljava/lang/reflect/Method;" |
1129 #define SIGNATURE "Lcom/oracle/graal/api/meta/RiSignature;" | 1129 #define SIGNATURE "Lcom/oracle/graal/api/meta/Signature;" |
1130 #define FIELD "Lcom/oracle/graal/api/meta/RiField;" | 1130 #define FIELD "Lcom/oracle/graal/api/meta/JavaField;" |
1131 #define RESOLVED_FIELD "Lcom/oracle/graal/api/meta/RiResolvedField;" | 1131 #define RESOLVED_FIELD "Lcom/oracle/graal/api/meta/ResolvedJavaField;" |
1132 #define CONSTANT_POOL "Lcom/oracle/graal/api/meta/RiConstantPool;" | 1132 #define CONSTANT_POOL "Lcom/oracle/graal/api/meta/ConstantPool;" |
1133 #define EXCEPTION_HANDLERS "[Lcom/oracle/graal/api/meta/RiExceptionHandler;" | 1133 #define EXCEPTION_HANDLERS "[Lcom/oracle/graal/api/meta/ExceptionHandler;" |
1134 #define TARGET_METHOD "Lcom/oracle/graal/hotspot/HotSpotTargetMethod;" | 1134 #define TARGET_METHOD "Lcom/oracle/graal/hotspot/HotSpotTargetMethod;" |
1135 #define CONFIG "Lcom/oracle/graal/hotspot/HotSpotVMConfig;" | 1135 #define CONFIG "Lcom/oracle/graal/hotspot/HotSpotVMConfig;" |
1136 #define HS_METHOD "Lcom/oracle/graal/hotspot/ri/HotSpotMethod;" | 1136 #define HS_METHOD "Lcom/oracle/graal/hotspot/ri/HotSpotMethod;" |
1137 #define HS_COMP_METHOD "Lcom/oracle/graal/hotspot/ri/HotSpotCompiledMethod;" | 1137 #define HS_COMP_METHOD "Lcom/oracle/graal/hotspot/ri/HotSpotCompiledMethod;" |
1138 #define HS_CODE_INFO "Lcom/oracle/graal/hotspot/ri/HotSpotCodeInfo;" | 1138 #define HS_CODE_INFO "Lcom/oracle/graal/hotspot/ri/HotSpotCodeInfo;" |