aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/opto/callGenerator.cpp
diff options
context:
space:
mode:
authorkvn <none@none>2014-05-16 12:05:14 -0700
committerkvn <none@none>2014-05-16 12:05:14 -0700
commit4fd57bfadbf2915dccb761077cc30acc476a22e8 (patch)
treedb031a07415c37d0cdb7d9200499cf866ed73fa3 /src/share/vm/opto/callGenerator.cpp
parent79e3de9408b4bada6596dbedd5e43ce22fab54da (diff)
8042786: Proper fix for 8032566
Summary: Check for overflow cases in range checks and collapse it if we can. Reviewed-by: jrose, iveresov
Diffstat (limited to 'src/share/vm/opto/callGenerator.cpp')
-rw-r--r--src/share/vm/opto/callGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/opto/callGenerator.cpp b/src/share/vm/opto/callGenerator.cpp
index a655f27b5..aaeb70388 100644
--- a/src/share/vm/opto/callGenerator.cpp
+++ b/src/share/vm/opto/callGenerator.cpp
@@ -381,7 +381,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);