Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/templateTable_sparc.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 | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6241:aba91a731143 | 6266:1d7922586cf6 |
---|---|
23 */ | 23 */ |
24 | 24 |
25 #ifndef CPU_SPARC_VM_TEMPLATETABLE_SPARC_HPP | 25 #ifndef CPU_SPARC_VM_TEMPLATETABLE_SPARC_HPP |
26 #define CPU_SPARC_VM_TEMPLATETABLE_SPARC_HPP | 26 #define CPU_SPARC_VM_TEMPLATETABLE_SPARC_HPP |
27 | 27 |
28 static void prepare_invoke(int byte_no, | |
29 Register method, // linked method (or i-klass) | |
30 Register ra, // return address | |
31 Register index = noreg, // itable index, MethodType, etc. | |
32 Register recv = noreg, // if caller wants to see it | |
33 Register flags = noreg // if caller wants to test it | |
34 ); | |
28 // helper function | 35 // helper function |
29 static void invokevfinal_helper(Register Rcache, Register Rret); | 36 static void invokevfinal_helper(Register Rcache, Register Rret); |
30 static void invokeinterface_object_method(Register RklassOop, Register Rcall, | 37 static void invokeinterface_object_method(Register RklassOop, Register Rcall, |
31 Register Rret, | 38 Register Rret, |
32 Register Rflags); | 39 Register Rflags); |