changeset 2681:bd87c0dcaba5

7079769: JSR 292: incorrect size() for CallStaticJavaHandle on sparc Reviewed-by: never, kvn
author twisti
date Wed, 17 Aug 2011 11:52:22 -0700
parents 381bf869f784
children 739a9abbbd4b
files src/cpu/sparc/vm/sparc.ad
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/sparc/vm/sparc.ad	Wed Aug 17 05:14:43 2011 -0700
+++ b/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);