Index: pkg/compiler/lib/src/universe/side_effects.dart |
diff --git a/pkg/compiler/lib/src/universe/side_effects.dart b/pkg/compiler/lib/src/universe/side_effects.dart |
index 01e44075acdf93f63ff5970ffe1f32950ca90ce9..6b35429a22deea413f690bc1f36598e8e3ec4155 100644 |
--- a/pkg/compiler/lib/src/universe/side_effects.dart |
+++ b/pkg/compiler/lib/src/universe/side_effects.dart |
@@ -28,7 +28,10 @@ class SideEffects { |
setDependsOnSomething(); |
} |
- SideEffects.empty(); |
+ SideEffects.empty() { |
+ clearAllDependencies(); |
+ clearAllSideEffects(); |
+ } |
bool operator==(other) => _flags == other._flags; |