Mercurial > hg > truffle
diff src/share/vm/interpreter/interpreter.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 | b31471cdc53e |
children | e522a00b91aa cd3d6a6b95d9 |
line wrap: on
line diff
--- a/src/share/vm/interpreter/interpreter.cpp Fri Oct 26 14:18:57 2012 -0700 +++ b/src/share/vm/interpreter/interpreter.cpp Mon Oct 29 11:08:48 2012 -0700 @@ -464,3 +464,11 @@ } } } + +void AbstractInterpreterGenerator::initialize_method_handle_entries() { + // 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]; + } +}