From cfa42ff8152b9275211846af94438145d7beaf98 Mon Sep 17 00:00:00 2001 From: jiangli Date: Tue, 23 Apr 2013 12:32:17 -0400 Subject: [PATCH] 8012927: 'assert(nbits == 32 || (-(1 << nbits-1) <= x && x < ( 1 << nbits-1))) failed: value out of range' in interpreter initialization. Summary: Change br_null_short() to br_null(). Reviewed-by: coleenp, hseigel --- src/cpu/sparc/vm/interp_masm_sparc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cpu/sparc/vm/interp_masm_sparc.cpp b/src/cpu/sparc/vm/interp_masm_sparc.cpp index c543e3641..d4f8b9b23 100644 --- a/src/cpu/sparc/vm/interp_masm_sparc.cpp +++ b/src/cpu/sparc/vm/interp_masm_sparc.cpp @@ -2097,7 +2097,8 @@ void InterpreterMacroAssembler::get_method_counters(Register method, call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::build_method_counters), method); ld_ptr(method_counters, Rcounters); - br_null_short(Rcounters, Assembler::pn, skip); // No MethodCounters, OutOfMemory + br_null(Rcounters, false, Assembler::pn, skip); // No MethodCounters, OutOfMemory + delayed()->nop(); bind(has_counters); } -- GitLab