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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/class_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/class_emitter.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/class_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/class_emitter.dart
index f7c8a2900170ebac36f0c437d24bc9fd029d8679..dbd3611148135320bf8cfa99d4abfdf8fa99aaa0 100644
--- a/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/class_emitter.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/class_emitter.dart
@@ -393,7 +393,7 @@ class ClassEmitter extends CodeEmitterHelper {
// If the class is never instantiated we still need to set it up for
// inheritance purposes, but we can simplify its JavaScript constructor.
bool isInstantiated =
- compiler.codegenWorld.instantiatedClasses.contains(element);
+ compiler.codegenWorld.directlyInstantiatedClasses.contains(element);
void visitField(Element holder, VariableElement field) {
assert(invariant(element, field.isDeclaration));

Powered by Google App Engine
This is Rietveld 408576698