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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/emitter.dart

Issue 654903002: Remove ResolutionEnqueuer.isLive (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add test. Created 6 years, 2 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: sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/emitter.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/emitter.dart b/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/emitter.dart
index 5af1cde6c8c8197dd48214b6734f128c8483cb34..c4703f7ec6513c50dd22559a427e1ceeacb7ecc2 100644
--- a/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/emitter.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/emitter.dart
@@ -1722,7 +1722,7 @@ class OldEmitter implements Emitter {
// native elements.
ClassElement cls =
element.enclosingClassOrCompilationUnit.declaration;
- if (compiler.codegenWorld.instantiatedClasses.contains(cls)
+ if (compiler.codegenWorld.directlyInstantiatedClasses.contains(cls)
&& !cls.isNative) {
owner = cls;
}

Powered by Google App Engine
This is Rietveld 408576698