comparison src/cpu/x86/vm/templateTable_x86_64.cpp @ 21559:be896a1983c0

recast all Graal native code as JVMCI code (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Thu, 28 May 2015 15:36:48 +0200
parents 51c6ce89d4dd
children
comparison
equal deleted inserted replaced
21558:d563baeca9df 21559:be896a1983c0
3037 // profile this call 3037 // profile this call
3038 __ profile_virtual_call(rax, r14, rdx); 3038 __ profile_virtual_call(rax, r14, rdx);
3039 3039
3040 // get target Method* & entry point 3040 // get target Method* & entry point
3041 __ lookup_virtual_method(rax, index, method); 3041 __ lookup_virtual_method(rax, index, method);
3042 #ifdef GRAAL 3042 #ifdef JVMCI
3043 // r14: MethodDataPointer (r14 is callee saved) 3043 // r14: MethodDataPointer (r14 is callee saved)
3044 __ profile_called_method(method, r14, r13); 3044 __ profile_called_method(method, r14, r13);
3045 #endif 3045 #endif
3046 __ profile_arguments_type(rdx, method, r13, true); 3046 __ profile_arguments_type(rdx, method, r13, true);
3047 3047
3141 // interpreter entry point and a conditional jump to it in case of a null 3141 // interpreter entry point and a conditional jump to it in case of a null
3142 // method. 3142 // method.
3143 __ testptr(rbx, rbx); 3143 __ testptr(rbx, rbx);
3144 __ jcc(Assembler::zero, no_such_method); 3144 __ jcc(Assembler::zero, no_such_method);
3145 3145
3146 #ifdef GRAAL 3146 #ifdef JVMCI
3147 // r13: MethodDataPointer (r13 is callee saved) 3147 // r13: MethodDataPointer (r13 is callee saved)
3148 __ profile_called_method(rbx, r13, r14); 3148 __ profile_called_method(rbx, r13, r14);
3149 #endif 3149 #endif
3150 __ profile_arguments_type(rdx, rbx, r13, true); 3150 __ profile_arguments_type(rdx, rbx, r13, true);
3151 3151