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

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: Don't call getNativeInterceptor when it isn't generated. 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 4bef886b370db1d35edbbcbe0e2975b6c5eba2f6..3d1f9383778605947ce19f5b75b868f4e7574e95 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
@@ -2498,7 +2498,7 @@ if (typeof document !== "undefined" && document.readyState !== "complete") {
// 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'.
ngeoffray 2013/05/14 11:20:47 You can remove the TODO.
ahe 2013/05/14 11:38:53 I already committed the CL.
- hasNative = true;
+ hasNative = compiler.enqueuer.codegen.nativeEnqueuer.hasNativeClasses();
}
jsAst.Block block = new jsAst.Block.empty();

Powered by Google App Engine
This is Rietveld 408576698