mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-03 15:08:24 +00:00
8287205: generate_cont_thaw generates dead code after jump to exception handler
Reviewed-by: shade, kvn
This commit is contained in:
parent
8c460b043e
commit
ebc012ece2
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user