7079769: JSR 292: incorrect size() for CallStaticJavaHandle on sparc
Reviewed-by: never, kvn
--- 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);