Mercurial > hg > truffle
comparison src/share/vm/opto/callGenerator.cpp @ 17936:968a17f18337
8042786: Proper fix for 8032566
Summary: Check for overflow cases in range checks and collapse it if we can.
Reviewed-by: jrose, iveresov
author | kvn |
---|---|
date | Fri, 16 May 2014 12:05:14 -0700 |
parents | 752ba2e5f6d0 |
children | dda2ae6f9557 |
comparison
equal
deleted
inserted
replaced
17935:7384f6a12fc1 | 17936:968a17f18337 |
---|---|
379 } | 379 } |
380 log->tail("late_inline"); | 380 log->tail("late_inline"); |
381 } | 381 } |
382 | 382 |
383 // Setup default node notes to be picked up by the inlining | 383 // Setup default node notes to be picked up by the inlining |
384 Node_Notes* old_nn = C->default_node_notes(); | 384 Node_Notes* old_nn = C->node_notes_at(call->_idx); |
385 if (old_nn != NULL) { | 385 if (old_nn != NULL) { |
386 Node_Notes* entry_nn = old_nn->clone(C); | 386 Node_Notes* entry_nn = old_nn->clone(C); |
387 entry_nn->set_jvms(jvms); | 387 entry_nn->set_jvms(jvms); |
388 C->set_default_node_notes(entry_nn); | 388 C->set_default_node_notes(entry_nn); |
389 } | 389 } |