< prev index next >

src/hotspot/cpu/aarch64/interp_masm_aarch64.cpp

Print this page

        

*** 30,40 **** #include "interp_masm_aarch64.hpp" #include "interpreter/interpreter.hpp" #include "interpreter/interpreterRuntime.hpp" #include "logging/log.hpp" #include "oops/arrayOop.hpp" ! #include "oops/markWord.hpp" #include "oops/method.hpp" #include "oops/methodData.hpp" #include "prims/jvmtiExport.hpp" #include "prims/jvmtiThreadState.hpp" #include "runtime/basicLock.hpp" --- 30,40 ---- #include "interp_masm_aarch64.hpp" #include "interpreter/interpreter.hpp" #include "interpreter/interpreterRuntime.hpp" #include "logging/log.hpp" #include "oops/arrayOop.hpp" ! #include "oops/markOop.hpp" #include "oops/method.hpp" #include "oops/methodData.hpp" #include "prims/jvmtiExport.hpp" #include "prims/jvmtiThreadState.hpp" #include "runtime/basicLock.hpp"
*** 286,307 **** ldr(klass, Address(cpool, ConstantPool::resolved_klasses_offset_in_bytes())); // klass = cpool->_resolved_klasses add(klass, klass, temp, LSL, LogBytesPerWord); ldr(klass, Address(klass, Array<Klass*>::base_offset_in_bytes())); } - void InterpreterMacroAssembler::load_resolved_method_at_index(int byte_no, - Register method, - Register cache) { - const int method_offset = in_bytes( - ConstantPoolCache::base_offset() + - ((byte_no == TemplateTable::f2_byte) - ? ConstantPoolCacheEntry::f2_offset() - : ConstantPoolCacheEntry::f1_offset())); - - ldr(method, Address(cache, method_offset)); // get f1 Method* - } - // Generate a subtype check: branch to ok_is_subtype if sub_klass is a // subtype of super_klass. // // Args: // r0: superklass --- 286,295 ----
< prev index next >