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

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

Issue 861733002: Do not use full substitution when only computing single type variables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | « pkg/compiler/lib/src/js_emitter/old_emitter/class_emitter.dart ('k') | 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 b5ea9885d4b27ffac3e14229bc5b84739a618e15..291c9f05fa938f4c2170571aadaa3e81717ade8d 100644
--- a/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
@@ -932,14 +932,14 @@ class OldEmitter implements Emitter {
output.addBuffer(
jsAst.prettyPrint(
js.statement('#.# = function() {}',
- [backend.namer.isolateName,
+ [backend.namer.currentIsolate,
backend.rti.getFunctionThatReturnsNullName]),
compiler, monitor: compiler.dumpInfoTask));
output.add(N);
}
jsAst.Expression generateFunctionThatReturnsNull() {
- return js("#.#", [backend.namer.isolateName,
+ return js("#.#", [backend.namer.currentIsolate,
backend.rti.getFunctionThatReturnsNullName]);
}
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/old_emitter/class_emitter.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698