Mercurial > hg > graal-jvmci-8
diff src/share/vm/jvmci/jvmciCompilerToVM.hpp @ 23743:a67f4d28935f jvmci-0.20
expose Hotspot intrinsics and HotSpotIntrinsicCandidate info to JVMCI compilers - part 2 (JDK-8164358)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 24 Aug 2016 14:35:44 +0200 |
parents | 1b939a613788 |
children | ebce30b702eb |
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciCompilerToVM.hpp Tue Aug 23 23:42:00 2016 +0200 +++ b/src/share/vm/jvmci/jvmciCompilerToVM.hpp Wed Aug 24 14:35:44 2016 +0200 @@ -88,23 +88,10 @@ } }; - /** - * Tag bits used by lookupKlassInPool to distinguish the types in Java. - */ - enum Tags { - KLASS_TAG = 0x0, - SYMBOL_TAG = 0x1 - }; + static JNINativeMethod methods[]; - static intptr_t tag_pointer(Klass* klass) { - return ((intptr_t) klass) | KLASS_TAG; - } + static objArrayHandle initialize_intrinsics(TRAPS); - static intptr_t tag_pointer(Symbol* symbol) { - return ((intptr_t) symbol) | SYMBOL_TAG; - } - - static JNINativeMethod methods[]; static int methods_count(); static inline Method* asMethod(jobject jvmci_method) {