Mercurial > hg > truffle
comparison src/cpu/x86/vm/templateTable_x86_64.hpp @ 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 | f95d63e2154a |
children | b9a9ed0f8eeb |
comparison
equal
deleted
inserted
replaced
6241:aba91a731143 | 6266:1d7922586cf6 |
---|---|
23 */ | 23 */ |
24 | 24 |
25 #ifndef CPU_X86_VM_TEMPLATETABLE_X86_64_HPP | 25 #ifndef CPU_X86_VM_TEMPLATETABLE_X86_64_HPP |
26 #define CPU_X86_VM_TEMPLATETABLE_X86_64_HPP | 26 #define CPU_X86_VM_TEMPLATETABLE_X86_64_HPP |
27 | 27 |
28 static void prepare_invoke(Register method, Register index, int byte_no); | 28 static void prepare_invoke(int byte_no, |
29 Register method, // linked method (or i-klass) | |
30 Register index = noreg, // itable index, MethodType, etc. | |
31 Register recv = noreg, // if caller wants to see it | |
32 Register flags = noreg // if caller wants to test it | |
33 ); | |
29 static void invokevirtual_helper(Register index, Register recv, | 34 static void invokevirtual_helper(Register index, Register recv, |
30 Register flags); | 35 Register flags); |
31 static void volatile_barrier(Assembler::Membar_mask_bits order_constraint); | 36 static void volatile_barrier(Assembler::Membar_mask_bits order_constraint); |
32 | 37 |
33 // Helpers | 38 // Helpers |