Mercurial > hg > graal-jvmci-8
diff src/share/vm/interpreter/templateInterpreter.cpp @ 6926:a3e2f723f2a5
8000780: make Zero build and run with JDK8
Reviewed-by: coleenp, dholmes, twisti
Contributed-by: Roman Kennke <rkennke@redhat.com>
author | twisti |
---|---|
date | Mon, 29 Oct 2012 11:08:48 -0700 |
parents | da91efe96a93 |
children | 7d815d842ee0 b800986664f4 |
line wrap: on
line diff
--- a/src/share/vm/interpreter/templateInterpreter.cpp Fri Oct 26 14:18:57 2012 -0700 +++ b/src/share/vm/interpreter/templateInterpreter.cpp Mon Oct 29 11:08:48 2012 -0700 @@ -373,11 +373,7 @@ method_entry(java_lang_math_pow ) method_entry(java_lang_ref_reference_get) - // method handle entry kinds are generated later in MethodHandlesAdapterGenerator::generate: - for (int i = Interpreter::method_handle_invoke_FIRST; i <= Interpreter::method_handle_invoke_LAST; i++) { - Interpreter::MethodKind kind = (Interpreter::MethodKind) i; - Interpreter::_entry_table[kind] = Interpreter::_entry_table[Interpreter::abstract]; - } + initialize_method_handle_entries(); // all native method kinds (must be one contiguous block) Interpreter::_native_entry_begin = Interpreter::code()->code_end();