7079769: JSR 292: incorrect size() for CallStaticJavaHandle on sparc
authortwisti
Wed, 17 Aug 2011 11:52:22 -0700
changeset 10269 8a1ab847ebea
parent 10268 3b789f46f950
child 10270 c5fb89d9d515
7079769: JSR 292: incorrect size() for CallStaticJavaHandle on sparc Reviewed-by: never, kvn
hotspot/src/cpu/sparc/vm/sparc.ad
--- a/hotspot/src/cpu/sparc/vm/sparc.ad	Wed Aug 17 05:14:43 2011 -0700
+++ b/hotspot/src/cpu/sparc/vm/sparc.ad	Wed Aug 17 11:52:22 2011 -0700
@@ -10066,7 +10066,7 @@
   predicate(((CallStaticJavaNode*)n)->is_method_handle_invoke());
   effect(USE meth, KILL l7_mh_SP_save);
 
-  size(8);
+  size(16);
   ins_cost(CALL_COST);
   format %{ "CALL,static/MethodHandle" %}
   ins_encode(preserve_SP, Java_Static_Call(meth), restore_SP, call_epilog);