Mercurial > hg > truffle
diff src/share/vm/ci/ciEnv.cpp @ 1662:e0ba4e04c839
6969574: invokedynamic call sites deoptimize instead of executing
Reviewed-by: kvn
author | jrose |
---|---|
date | Fri, 16 Jul 2010 18:14:19 -0700 |
parents | 136b78722a08 |
children | d5d065957597 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciEnv.cpp Fri Jul 16 08:29:42 2010 -0700 +++ b/src/share/vm/ci/ciEnv.cpp Fri Jul 16 18:14:19 2010 -0700 @@ -728,8 +728,8 @@ } // Get the invoker methodOop from the constant pool. - intptr_t f2_value = cpool->cache()->main_entry_at(index)->f2(); - methodOop signature_invoker = methodOop(f2_value); + oop f1_value = cpool->cache()->main_entry_at(index)->f1(); + 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");