--- a/hotspot/src/cpu/sparc/vm/sharedRuntime_sparc.cpp Thu Jul 27 15:36:15 2017 +0200
+++ b/hotspot/src/cpu/sparc/vm/sharedRuntime_sparc.cpp Thu Jul 27 18:06:41 2017 -0400
@@ -1633,7 +1633,7 @@
}
static void verify_oop_args(MacroAssembler* masm,
- methodHandle method,
+ const methodHandle& method,
const BasicType* sig_bt,
const VMRegPair* regs) {
Register temp_reg = G5_method; // not part of any compiled calling seq
@@ -1657,7 +1657,7 @@
}
static void gen_special_dispatch(MacroAssembler* masm,
- methodHandle method,
+ const methodHandle& method,
const BasicType* sig_bt,
const VMRegPair* regs) {
verify_oop_args(masm, method, sig_bt, regs);