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

Unified Diff: pkg/compiler/lib/src/ssa/codegen.dart

Issue 2894893002: Add ElementCodegenWorldBuilder (Closed)
Patch Set: Updated cf. comments. Created 3 years, 7 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/ssa/builder_kernel.dart ('k') | pkg/compiler/lib/src/ssa/ssa.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/codegen.dart
diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart
index 801bec47d81c810f15d153b8248c7602a834529a..9b5186281b7c2b5329c6fc147a7a3e532fb81f21 100644
--- a/pkg/compiler/lib/src/ssa/codegen.dart
+++ b/pkg/compiler/lib/src/ssa/codegen.dart
@@ -19,6 +19,7 @@ import '../js/js.dart' as js;
import '../js_backend/interceptor_data.dart';
import '../js_backend/backend.dart';
import '../js_backend/checked_mode_helpers.dart';
+import '../js_backend/element_strategy.dart' show ElementCodegenWorkItem;
import '../js_backend/native_data.dart';
import '../js_backend/namer.dart';
import '../js_backend/runtime_types.dart';
@@ -63,7 +64,7 @@ class SsaCodeGeneratorTask extends CompilerTask {
}
js.Expression generateCode(
- CodegenWorkItem work, HGraph graph, ClosedWorld closedWorld) {
+ ElementCodegenWorkItem work, HGraph graph, ClosedWorld closedWorld) {
if (work.element.isField) {
return generateLazyInitializer(work, graph, closedWorld);
} else {
@@ -72,7 +73,7 @@ class SsaCodeGeneratorTask extends CompilerTask {
}
js.Expression generateLazyInitializer(
- CodegenWorkItem work, HGraph graph, ClosedWorld closedWorld) {
+ ElementCodegenWorkItem work, HGraph graph, ClosedWorld closedWorld) {
return measure(() {
backend.tracer.traceGraph("codegen", graph);
SourceInformation sourceInformation = sourceInformationFactory
@@ -97,7 +98,7 @@ class SsaCodeGeneratorTask extends CompilerTask {
}
js.Expression generateMethod(
- CodegenWorkItem work, HGraph graph, ClosedWorld closedWorld) {
+ ElementCodegenWorkItem work, HGraph graph, ClosedWorld closedWorld) {
return measure(() {
MethodElement element = work.element;
if (element.asyncMarker != AsyncMarker.SYNC) {
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder_kernel.dart ('k') | pkg/compiler/lib/src/ssa/ssa.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698