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 cad67af3c8e528e146e92a00d64e309e8dd32a70..d7da4f0c4073ac3c8eb98510b4985b014132c104 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/task.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
@@ -208,6 +208,7 @@ class CpsFunctionCompiler implements FunctionCompiler { |
applyCpsPass(new RedundantJoinEliminator(), cpsFunction); |
applyCpsPass(new ShrinkingReducer(), cpsFunction); |
applyCpsPass(new RedundantRefinementEliminator(typeSystem), cpsFunction); |
+ applyCpsPass(new EagerlyLoadStatics(), cpsFunction); |
applyCpsPass(new GVN(compiler), cpsFunction); |
applyCpsPass(new RemoveRefinements(), cpsFunction); |
applyCpsPass(new ShrinkingReducer(), cpsFunction); |