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 030daca0ac0542e3e53d228ffb6ef586b9a7a164..28beb1c50daf9adff91436b8a72808ed048cf46e 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/task.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
@@ -203,6 +203,7 @@ class CpsFunctionCompiler implements FunctionCompiler { |
applyCpsPass(new MutableVariableEliminator(), cpsFunction); |
applyCpsPass(new RedundantJoinEliminator(), cpsFunction); |
applyCpsPass(new RedundantPhiEliminator(), cpsFunction); |
+ applyCpsPass(new BoundsChecker(typeSystem, compiler.world), cpsFunction); |
applyCpsPass(new ShrinkingReducer(), cpsFunction); |
applyCpsPass(new ShareInterceptors(), cpsFunction); |
applyCpsPass(new ShrinkingReducer(), cpsFunction); |