Index: dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart b/dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
index 04c251587cfdc4f292c354234191e0a0053032aa..2341b248eb0cd081c8ff04a737813c483feeabd1 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
@@ -2523,9 +2523,7 @@ if (typeof document !== "undefined" && document.readyState !== "complete") { |
if (classes == backend.interceptedClasses) { |
// I.e. this is the general interceptor. |
- // TODO(9556): Remove 'holders'. The general interceptor is used on type |
- // checks and needs to handle 'native' classes for 'holders'. |
- hasNative = true; |
+ hasNative = compiler.enqueuer.codegen.nativeEnqueuer.hasNativeClasses(); |
} |
jsAst.Block block = new jsAst.Block.empty(); |