Review comments

This commit is contained in:
Andrew Haley 2026-07-16 13:35:32 +01:00
parent d3a2dbc654
commit bc42137da1
2 changed files with 4 additions and 4 deletions

View File

@ -383,8 +383,6 @@ int LIR_Assembler::emit_unwind_handler() {
int offset = code_offset();
__ block_comment("Emit unwind handler");
// Fetch the exception from TLS and clear out exception related thread state
__ ldr(r0, Address(rthread, JavaThread::exception_oop_offset()));
__ str(zr, Address(rthread, JavaThread::exception_oop_offset()));
@ -2663,7 +2661,7 @@ void LIR_Assembler::increment_profile_ctr(LIR_Opr step, LIR_Opr dest_opr, LIR_Op
};
if (counter_stub != nullptr) {
__ ubfx(rscratch1, r_profile_rng, 28 - ratio_shift, ratio_shift);
__ ubfx(rscratch1, r_profile_rng, 32 - ratio_shift, ratio_shift);
__ cbz(rscratch1, *counter_stub->entry());
__ bind(*counter_stub->continuation());
__ step_random(r_profile_rng, rscratch2);

View File

@ -294,7 +294,7 @@ void Compilation::emit_code_epilog(LIR_Assembler* assembler) {
return;
}
// generate code for slow cases
// generate code or slow cases
assembler->emit_slow_case_stubs();
CHECK_BAILOUT();
@ -363,6 +363,7 @@ int Compilation::emit_code_body() {
return frame_map()->framesize();
}
int Compilation::compile_java_method() {
assert(!method()->is_native(), "should not reach here");
@ -387,6 +388,7 @@ int Compilation::compile_java_method() {
BAILOUT_("Bailing out because of -XX:+BailoutAfterHIR", no_frame_size);
}
{
PhaseTraceTime timeit(_t_emit_lir);