Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 266c129d9bde65bf2b89966491ee46eb82327829..a97d0a9a75b12f28534acc53ee252fd171ee18ce 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -34,6 +34,7 @@ |
#include "full-codegen.h" |
#include "hashmap.h" |
#include "hydrogen-bce.h" |
+#include "hydrogen-bch.h" |
#include "hydrogen-canonicalize.h" |
#include "hydrogen-dce.h" |
#include "hydrogen-dehoist.h" |
@@ -3029,6 +3030,9 @@ bool HGraph::Optimize(SmartArrayPointer<char>* bailout_reason) { |
if (FLAG_array_bounds_checks_elimination && !FLAG_idefs) { |
Run<HBoundsCheckEliminationPhase>(); |
} |
+ if (FLAG_array_bounds_checks_hoisting && !FLAG_idefs) { |
+ Run<HBoundsCheckHoistingPhase>(); |
+ } |
if (FLAG_array_index_dehoisting) Run<HDehoistIndexComputationsPhase>(); |
if (FLAG_dead_code_elimination) Run<HDeadCodeEliminationPhase>(); |