comparison src/share/vm/c1/c1_FrameMap.cpp @ 6266:1d7922586cf6

7023639: JSR 292 method handle invocation needs a fast path for compiled code 6984705: JSR 292 method handle creation should not go through JNI Summary: remove assembly code for JDK 7 chained method handles Reviewed-by: jrose, twisti, kvn, mhaupt Contributed-by: John Rose <john.r.rose@oracle.com>, Christian Thalinger <christian.thalinger@oracle.com>, Michael Haupt <michael.haupt@oracle.com>
author twisti
date Tue, 24 Jul 2012 10:51:00 -0700
parents 1d1603768966
children b9a9ed0f8eeb
comparison
equal deleted inserted replaced
6241:aba91a731143 6266:1d7922586cf6
90 intptr_t out_preserve = SharedRuntime::java_calling_convention(sig_bt, regs, sizeargs, outgoing); 90 intptr_t out_preserve = SharedRuntime::java_calling_convention(sig_bt, regs, sizeargs, outgoing);
91 LIR_OprList* args = new LIR_OprList(signature->length()); 91 LIR_OprList* args = new LIR_OprList(signature->length());
92 for (i = 0; i < sizeargs;) { 92 for (i = 0; i < sizeargs;) {
93 BasicType t = sig_bt[i]; 93 BasicType t = sig_bt[i];
94 assert(t != T_VOID, "should be skipping these"); 94 assert(t != T_VOID, "should be skipping these");
95
96 LIR_Opr opr = map_to_opr(t, regs + i, outgoing); 95 LIR_Opr opr = map_to_opr(t, regs + i, outgoing);
97 args->append(opr); 96 args->append(opr);
98 if (opr->is_address()) { 97 if (opr->is_address()) {
99 LIR_Address* addr = opr->as_address_ptr(); 98 LIR_Address* addr = opr->as_address_ptr();
100 assert(addr->disp() == (int)addr->disp(), "out of range value"); 99 assert(addr->disp() == (int)addr->disp(), "out of range value");