Index: pkg/compiler/lib/src/js_backend/codegen/task.dart |
diff --git a/pkg/compiler/lib/src/js_backend/codegen/task.dart b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
index 16093d3e59fba4c74dbcc207c1f4e0d7c049828f..e04d9f14e72c911894a9887e2db0c366ecd7a631 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/task.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
@@ -187,6 +187,7 @@ class CpsFunctionCompiler implements FunctionCompiler { |
applyCpsPass(new MutableVariableEliminator()); |
applyCpsPass(new RedundantJoinEliminator()); |
applyCpsPass(new RedundantPhiEliminator()); |
+ applyCpsPass(new BoundsChecker(typeSystem, compiler.world)); |
applyCpsPass(new ShrinkingReducer()); |
applyCpsPass(new LoopInvariantCodeMotion()); |
applyCpsPass(new ShareInterceptors()); |