Chromium Code Reviews| Index: src/hydrogen.cc |
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
| index 396e98a7f931cd824e516d3faef20a94c1ec97e0..b0d78793d98ec04aa10528d1a52b6b1acf2b7f54 100644 |
| --- a/src/hydrogen.cc |
| +++ b/src/hydrogen.cc |
| @@ -4251,6 +4251,8 @@ class BoundsCheckBbData: public ZoneObject { |
| } |
| if (!keep_new_check) { |
| + BasicBlock()->graph()->isolate()->counters()-> |
| + bounds_checks_covered()->Increment(); |
| new_check->DeleteAndReplaceWith(new_check->ActualValue()); |
| } |
| @@ -4448,6 +4450,9 @@ void HGraph::EliminateRedundantBoundsChecks() { |
| HPhase phase("H_Eliminate bounds checks", this); |
| BoundsCheckTable checks_table(zone()); |
| EliminateRedundantBoundsChecks(entry_block(), &checks_table); |
| + if (FLAG_abcd_ivars) { |
|
titzer
2013/07/11 16:39:10
Indentation
Massi
2013/07/12 08:20:24
Done.
|
| + EliminateRedundantBoundsChecksUsingInductionVariables(); |
| + } |
| } |