Mercurial > hg > truffle
comparison src/cpu/zero/vm/interpreter_zero.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 | 3d2ab563047a |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6241:aba91a731143 | 6266:1d7922586cf6 |
---|---|
68 | 68 |
69 address InterpreterGenerator::generate_abstract_entry() { | 69 address InterpreterGenerator::generate_abstract_entry() { |
70 return generate_entry((address) ShouldNotCallThisEntry()); | 70 return generate_entry((address) ShouldNotCallThisEntry()); |
71 } | 71 } |
72 | 72 |
73 address InterpreterGenerator::generate_method_handle_entry() { | |
74 #ifdef CC_INTERP | |
75 return generate_entry((address) CppInterpreter::method_handle_entry); | |
76 #else | |
77 return generate_entry((address) ShouldNotCallThisEntry()); | |
78 #endif // CC_INTERP | |
79 } | |
80 | |
81 bool AbstractInterpreter::can_be_compiled(methodHandle m) { | 73 bool AbstractInterpreter::can_be_compiled(methodHandle m) { |
82 return true; | 74 return true; |
83 } | 75 } |
84 | 76 |
85 void Deoptimization::unwind_callee_save_values(frame* f, | 77 void Deoptimization::unwind_callee_save_values(frame* f, |