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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/interceptor_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/interceptor_emitter.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/interceptor_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/interceptor_emitter.dart
index f643acfc640bcedbcd3a6633ccd471238cf144a5..e9370c76ffe1851edc62e38a2e69a6014b40b577 100644
--- a/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/interceptor_emitter.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/interceptor_emitter.dart
@@ -151,7 +151,8 @@ class InterceptorEmitter extends CodeEmitterHelper {
} else {
ClassElement jsUnknown = backend.jsUnknownJavaScriptObjectClass;
- if (compiler.codegenWorld.instantiatedClasses.contains(jsUnknown)) {
+ if (compiler.codegenWorld
+ .directlyInstantiatedClasses.contains(jsUnknown)) {
statements.add(
js.statement('if (!(receiver instanceof #)) return #;',
[namer.elementAccess(compiler.objectClass),

Powered by Google App Engine
This is Rietveld 408576698