mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
8042786: Proper fix for 8032566
Check for overflow cases in range checks and collapse it if we can. Reviewed-by: jrose, iveresov
This commit is contained in:
parent
a354960abb
commit
6bfc0288f3
7 changed files with 101 additions and 5 deletions
|
@ -391,7 +391,7 @@ void LateInlineCallGenerator::do_late_inline() {
|
|||
}
|
||||
|
||||
// Setup default node notes to be picked up by the inlining
|
||||
Node_Notes* old_nn = C->default_node_notes();
|
||||
Node_Notes* old_nn = C->node_notes_at(call->_idx);
|
||||
if (old_nn != NULL) {
|
||||
Node_Notes* entry_nn = old_nn->clone(C);
|
||||
entry_nn->set_jvms(jvms);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue