Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: pkg/compiler/lib/src/universe/side_effects.dart

Issue 954253002: dart2js: add compiler builtins to the core-runtime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move more foreigns to builtins. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698