From 1cbf774fef98850aa239d9386790e3858b49cbfc Mon Sep 17 00:00:00 2001 From: twisti Date: Wed, 17 Aug 2011 11:52:22 -0700 Subject: [PATCH] 7079769: JSR 292: incorrect size() for CallStaticJavaHandle on sparc Reviewed-by: never, kvn --- src/cpu/sparc/vm/sparc.ad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/sparc/vm/sparc.ad b/src/cpu/sparc/vm/sparc.ad index 9eac222b9..cd57f2c7d 100644 --- a/src/cpu/sparc/vm/sparc.ad +++ b/src/cpu/sparc/vm/sparc.ad @@ -10066,7 +10066,7 @@ instruct CallStaticJavaHandle(method meth, l7RegP l7_mh_SP_save) %{ 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); -- GitLab