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

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

Issue 2972523002: Implement JsKernelToElementMap through KernelToElementMapBase (Closed)
Patch Set: Updated cf. comments Created 3 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
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 cd4326ca65d9ab56ceb2be95732755c94d4d3461..c89f0500ad7f5da8d0f95bc484bd302fb258e89f 100644
--- a/pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart
@@ -20,6 +20,7 @@ import '../js_emitter.dart' show CodeEmitterTask, NativeEmitter;
import '../js_emitter.dart' as emitterTask show EmitterBase, EmitterFactory;
import '../model.dart';
import '../program_builder/program_builder.dart' show ProgramBuilder;
+import '../sorter.dart' show Sorter;
import 'model_emitter.dart';
class EmitterFactory implements emitterTask.EmitterFactory {
@@ -27,8 +28,8 @@ class EmitterFactory implements emitterTask.EmitterFactory {
bool get supportsReflection => false;
@override
- Emitter createEmitter(
- CodeEmitterTask task, Namer namer, ClosedWorld closedWorld) {
+ Emitter createEmitter(CodeEmitterTask task, Namer namer,
+ ClosedWorld closedWorld, Sorter sorter) {
return new Emitter(
task.compiler, namer, task.nativeEmitter, closedWorld, task);
}

Powered by Google App Engine
This is Rietveld 408576698