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

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

Issue 2647613004: Use entities in code_emitter_task (Closed)
Patch Set: Updated cf. comments Created 3 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
Index: pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart
index a38de703e23ede7fd1067fda4b7ff51a11021573..cb0cb3cc4a514c1368331db62494bc2896aa541e 100644
--- a/pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart
@@ -10,7 +10,7 @@ import '../../common.dart';
import '../../compiler.dart' show Compiler;
import '../../constants/values.dart' show ConstantValue;
import '../../elements/elements.dart'
- show ClassElement, Element, FieldElement, FunctionElement;
+ show ClassElement, Element, FieldElement, MethodElement;
import '../../js/js.dart' as js;
import '../../js_backend/js_backend.dart' show JavaScriptBackend, Namer;
import '../../world.dart' show ClosedWorld;
@@ -96,7 +96,7 @@ class Emitter implements emitterTask.Emitter {
}
@override
- js.Expression isolateStaticClosureAccess(FunctionElement element) {
+ js.Expression isolateStaticClosureAccess(MethodElement element) {
return _emitter.generateStaticClosureAccess(element);
}
@@ -106,7 +106,7 @@ class Emitter implements emitterTask.Emitter {
}
@override
- js.PropertyAccess staticFunctionAccess(FunctionElement element) {
+ js.PropertyAccess staticFunctionAccess(MethodElement element) {
return _globalPropertyAccess(element);
}
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart ('k') | pkg/compiler/lib/src/js_emitter/native_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698