8229925: [s390, PPC64] Exception check missing in interpreter
Reviewed-by: dholmes, rrich
This commit is contained in:
parent
e3b6b7f842
commit
cf05d75980
@ -2265,7 +2265,7 @@ void InterpreterMacroAssembler::get_method_counters(Register method,
|
||||
cmpdi(CCR0, Rcounters, 0);
|
||||
bne(CCR0, has_counters);
|
||||
call_VM(noreg, CAST_FROM_FN_PTR(address,
|
||||
InterpreterRuntime::build_method_counters), method, false);
|
||||
InterpreterRuntime::build_method_counters), method);
|
||||
ld(Rcounters, in_bytes(Method::method_counters_offset()), method);
|
||||
cmpdi(CCR0, Rcounters, 0);
|
||||
beq(CCR0, skip); // No MethodCounters, OutOfMemory.
|
||||
|
@ -1914,7 +1914,7 @@ void InterpreterMacroAssembler::get_method_counters(Register Rmethod,
|
||||
load_and_test_long(Rcounters, Address(Rmethod, Method::method_counters_offset()));
|
||||
z_brnz(has_counters);
|
||||
|
||||
call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::build_method_counters), Rmethod, false);
|
||||
call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::build_method_counters), Rmethod);
|
||||
z_ltgr(Rcounters, Z_RET); // Runtime call returns MethodCounters object.
|
||||
z_brz(skip); // No MethodCounters, out of memory.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user