Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
17935:7384f6a12fc1 | 17936:968a17f18337 |
---|---|
356 } | 356 } |
357 | 357 |
358 bool Compile::should_delay_boxing_inlining(ciMethod* call_method, JVMState* jvms) { | 358 bool Compile::should_delay_boxing_inlining(ciMethod* call_method, JVMState* jvms) { |
359 if (eliminate_boxing() && call_method->is_boxing_method()) { | 359 if (eliminate_boxing() && call_method->is_boxing_method()) { |
360 set_has_boxed_value(true); | 360 set_has_boxed_value(true); |
361 return true; | 361 return aggressive_unboxing(); |
362 } | 362 } |
363 return false; | 363 return false; |
364 } | 364 } |
365 | 365 |
366 // uncommon-trap call-sites where callee is unloaded, uninitialized or will not link | 366 // uncommon-trap call-sites where callee is unloaded, uninitialized or will not link |