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

Unified Diff: pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart

Issue 1226853002: Revert "dart2js: Move functionThatReturnsNull to Isolate." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
index 68833dc716efd037c26e396d43efc2ab6df9b989..bb2f2b2aa991b4c9480a7f19d0deb7b313bae4a1 100644
--- a/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
@@ -733,14 +733,12 @@ class OldEmitter implements Emitter {
}
jsAst.Statement buildFunctionThatReturnsNull() {
- return js.statement('#.# = function() {}',
- [namer.isolateName,
- backend.rti.getFunctionThatReturnsNullName]);
+ return js.statement('# = function() {}',
+ [backend.rti.getFunctionThatReturnsNullName]);
}
jsAst.Expression generateFunctionThatReturnsNull() {
- return js("#.#", [namer.isolateName,
- backend.rti.getFunctionThatReturnsNullName]);
+ return js("#", [backend.rti.getFunctionThatReturnsNullName]);
}
buildMain(jsAst.Statement invokeMain) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698