Mercurial > hg > truffle
diff src/share/vm/opto/doCall.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 | b8413a9cbb84 |
children | 1555c0843770 |
line wrap: on
line diff
--- a/src/share/vm/opto/doCall.cpp Thu May 15 18:23:26 2014 -0400 +++ b/src/share/vm/opto/doCall.cpp Fri May 16 12:05:14 2014 -0700 @@ -358,7 +358,7 @@ bool Compile::should_delay_boxing_inlining(ciMethod* call_method, JVMState* jvms) { if (eliminate_boxing() && call_method->is_boxing_method()) { set_has_boxed_value(true); - return true; + return aggressive_unboxing(); } return false; }