| 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 70fe3254b2c33a8d9a8b8f9bb6f3cfd37724f19d..b1eb2a1fac7b551f9e43f6f1e14bde0efad13718 100644
|
| --- a/pkg/compiler/lib/src/js_backend/codegen/task.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart
|
| @@ -210,8 +210,8 @@ class CpsFunctionCompiler implements FunctionCompiler {
|
| applyCpsPass(new ShrinkingReducer(), cpsFunction);
|
| applyCpsPass(new RedundantRefinementEliminator(typeSystem), cpsFunction);
|
| applyCpsPass(new GVN(compiler, typeSystem), cpsFunction);
|
| - applyCpsPass(new BoundsChecker(typeSystem, compiler.world), cpsFunction);
|
| - applyCpsPass(new RemoveRefinements(), cpsFunction);
|
| + applyCpsPass(new UpdateRefinements(typeSystem), cpsFunction);
|
| + applyCpsPass(new BoundsChecker(typeSystem, compiler.world), cpsFunction); // TODO: where to do bounds checking?
|
| applyCpsPass(new ShrinkingReducer(), cpsFunction);
|
| applyCpsPass(new ScalarReplacer(compiler), cpsFunction);
|
| applyCpsPass(new MutableVariableEliminator(), cpsFunction);
|
|
|