1.1 --- a/src/share/vm/opto/callGenerator.hpp Wed Nov 16 19:42:58 2011 -0800 1.2 +++ b/src/share/vm/opto/callGenerator.hpp Thu Nov 17 04:07:30 2011 -0800 1.3 @@ -108,8 +108,11 @@ 1.4 1.5 // How to generate vanilla out-of-line call sites: 1.6 static CallGenerator* for_direct_call(ciMethod* m, bool separate_io_projs = false); // static, special 1.7 + static CallGenerator* for_virtual_call(ciMethod* m, int vtable_index); // virtual, interface 1.8 static CallGenerator* for_dynamic_call(ciMethod* m); // invokedynamic 1.9 - static CallGenerator* for_virtual_call(ciMethod* m, int vtable_index); // virtual, interface 1.10 + 1.11 + static CallGenerator* for_method_handle_call(Node* method_handle, JVMState* jvms, ciMethod* caller, ciMethod* callee, ciCallProfile profile); 1.12 + static CallGenerator* for_invokedynamic_call( JVMState* jvms, ciMethod* caller, ciMethod* callee, ciCallProfile profile); 1.13 1.14 static CallGenerator* for_method_handle_inline(Node* method_handle, JVMState* jvms, ciMethod* caller, ciMethod* callee, ciCallProfile profile); 1.15 static CallGenerator* for_invokedynamic_inline(ciCallSite* call_site, JVMState* jvms, ciMethod* caller, ciMethod* callee, ciCallProfile profile);