Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/cppInterpreter_x86.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 | 2fe087c3e814 |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6241:aba91a731143 | 6266:1d7922586cf6 |
---|---|
869 const Address field_address (rax, rcx, Address::times_1); | 869 const Address field_address (rax, rcx, Address::times_1); |
870 | 870 |
871 // Need to differentiate between igetfield, agetfield, bgetfield etc. | 871 // Need to differentiate between igetfield, agetfield, bgetfield etc. |
872 // because they are different sizes. | 872 // because they are different sizes. |
873 // Use the type from the constant pool cache | 873 // Use the type from the constant pool cache |
874 __ shrl(rdx, ConstantPoolCacheEntry::tosBits); | 874 __ shrl(rdx, ConstantPoolCacheEntry::tos_state_shift); |
875 // Make sure we don't need to mask rdx for tosBits after the above shift | 875 // Make sure we don't need to mask rdx after the above shift |
876 ConstantPoolCacheEntry::verify_tosBits(); | 876 ConstantPoolCacheEntry::verify_tos_state_shift(); |
877 #ifdef _LP64 | 877 #ifdef _LP64 |
878 Label notObj; | 878 Label notObj; |
879 __ cmpl(rdx, atos); | 879 __ cmpl(rdx, atos); |
880 __ jcc(Assembler::notEqual, notObj); | 880 __ jcc(Assembler::notEqual, notObj); |
881 // atos | 881 // atos |