mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
6993078: JSR 292 too many pushes: Lesp points into register window
Reviewed-by: kvn, never
This commit is contained in:
parent
abc5f94df7
commit
868bf68a3e
5 changed files with 28 additions and 27 deletions
|
@ -756,7 +756,7 @@ ciMethod* ciEnv::get_fake_invokedynamic_method_impl(constantPoolHandle cpool,
|
|||
assert(bc == Bytecodes::_invokedynamic, "must be invokedynamic");
|
||||
|
||||
bool is_resolved = cpool->cache()->main_entry_at(index)->is_resolved(bc);
|
||||
if (is_resolved && (oop) cpool->cache()->secondary_entry_at(index)->f1() == NULL)
|
||||
if (is_resolved && cpool->cache()->secondary_entry_at(index)->is_f1_null())
|
||||
// FIXME: code generation could allow for null (unlinked) call site
|
||||
is_resolved = false;
|
||||
|
||||
|
@ -770,7 +770,7 @@ ciMethod* ciEnv::get_fake_invokedynamic_method_impl(constantPoolHandle cpool,
|
|||
|
||||
// Get the invoker methodOop from the constant pool.
|
||||
oop f1_value = cpool->cache()->main_entry_at(index)->f1();
|
||||
methodOop signature_invoker = methodOop(f1_value);
|
||||
methodOop signature_invoker = (methodOop) f1_value;
|
||||
assert(signature_invoker != NULL && signature_invoker->is_method() && signature_invoker->is_method_handle_invoke(),
|
||||
"correct result from LinkResolver::resolve_invokedynamic");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue