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

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

Issue 15132006: Remove _WorkerStub hack to make benefit closing an isolate. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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: 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();

Powered by Google App Engine
This is Rietveld 408576698