| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index 396e98a7f931cd824e516d3faef20a94c1ec97e0..dccd6aab0b401e1b806daebb0a60b8800dab6d09 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) {
|
| + EliminateRedundantBoundsChecksUsingInductionVariables();
|
| + }
|
| }
|
|
|
|
|
|
|