8012927: 'assert(nbits == 32 || (-(1 << nbits-1) <= x && x < ( 1 << nbits-1))) failed: value out of range' in interpreter initialization

Change br_null_short() to br_null().

Reviewed-by: coleenp, hseigel
This commit is contained in:
Jiangli Zhou 2013-04-23 12:32:17 -04:00
parent cadadd73c2
commit 8c2c17a067

View File

@ -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);
}