8287205: generate_cont_thaw generates dead code after jump to exception handler

Reviewed-by: shade, kvn
This commit is contained in:
Richard Reingruber 2022-06-05 19:30:08 +00:00
parent 8c460b043e
commit ebc012ece2
2 changed files with 8 additions and 8 deletions

View File

@ -6760,12 +6760,12 @@ class StubGenerator: public StubCodeGenerator {
__ leave();
__ mov(r3, lr);
__ br(r1); // the exception handler
} else {
// We're "returning" into the topmost thawed frame; see Thaw::push_return_frame
__ leave();
__ ret(lr);
}
// We're "returning" into the topmost thawed frame; see Thaw::push_return_frame
__ leave();
__ ret(lr);
return start;
}

View File

@ -7672,12 +7672,12 @@ address generate_avx_ghash_processBlocks() {
__ pop(rbp);
__ pop(rdx); // exception pc
__ jmp(rbx);
} else {
// We are "returning" into the topmost thawed frame; see Thaw::push_return_frame
__ pop(rbp);
__ ret(0);
}
// We are "returning" into the topmost thawed frame; see Thaw::push_return_frame
__ pop(rbp);
__ ret(0);
return start;
}