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

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

Issue 2939033002: Towards compiling Hello World! (Closed)
Patch Set: Fix parameter ordering Created 3 years, 6 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: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
index c505e13a4375c1c9ff744e61554e26847b78cfca..702f2f8d6a114f4e7b65d699ed372137dc14bdca 100644
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
@@ -24,7 +24,6 @@ import '../../elements/elements.dart'
ConstructorBodyElement,
FieldElement,
LibraryElement,
- MethodElement,
TypedefElement;
import '../../elements/entities.dart';
import '../../elements/entity_utils.dart' as utils;
@@ -184,6 +183,7 @@ class Emitter extends js_emitter.EmitterBase {
constantEmitter = new ConstantEmitter(
compiler.options,
_closedWorld.commonElements,
+ compiler.codegenWorldBuilder,
compiler.backend.rtiNeed,
compiler.backend.rtiEncoder,
namer,
@@ -303,7 +303,7 @@ class Emitter extends js_emitter.EmitterBase {
}
@override
- jsAst.Expression isolateLazyInitializerAccess(FieldElement element) {
+ jsAst.Expression isolateLazyInitializerAccess(FieldEntity element) {
return jsAst.js('#.#', [
namer.globalObjectForMember(element),
namer.lazyInitializerName(element)
@@ -311,7 +311,7 @@ class Emitter extends js_emitter.EmitterBase {
}
@override
- jsAst.Expression isolateStaticClosureAccess(MethodElement element) {
+ jsAst.Expression isolateStaticClosureAccess(FunctionEntity element) {
return jsAst.js('#.#()', [
namer.globalObjectForMember(element),
namer.staticClosureName(element)

Powered by Google App Engine
This is Rietveld 408576698