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

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

Issue 1103523003: dart2js: Fix new emitter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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/new_emitter/emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/new_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/new_emitter/emitter.dart
index 9539cf68e8d657326fe873da5bafd78ee08f41be..6a55d08c638de8cd58915dbdac314c2720839d86 100644
--- a/pkg/compiler/lib/src/js_emitter/new_emitter/emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/new_emitter/emitter.dart
@@ -143,16 +143,16 @@ class Emitter implements emitterTask.Emitter {
case JsBuiltin.isFunctionTypeLiteral:
String functionClassName =
- _backend.namer.runtimeTypeName(compiler.functionClass);
+ _backend.namer.runtimeTypeName(_compiler.functionClass);
- return jsAst.js.expressionTemplateFor(
+ return js.js.expressionTemplateFor(
'#.$typeNameProperty === "$functionClassName"');
case JsBuiltin.typeName:
- return jsAst.js.expressionTemplateFor("#.$typeNameProperty");
+ return js.js.expressionTemplateFor("#.$typeNameProperty");
case JsBuiltin.rawRuntimeType:
- return jsAst.js.expressionTemplateFor("#.constructor");
+ return js.js.expressionTemplateFor("#.constructor");
case JsBuiltin.createFunctionType:
return _backend.rti.representationGenerator
« 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