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

Unified Diff: tests/compiler/dart2js/compiler_helper.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
Index: tests/compiler/dart2js/compiler_helper.dart
diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart
index d97359fef52da95da2e673282e5e5c0cbee8364b..33b7576ee9bfe62a27ce31c1a3f781e13d96b179 100644
--- a/tests/compiler/dart2js/compiler_helper.dart
+++ b/tests/compiler/dart2js/compiler_helper.dart
@@ -13,6 +13,8 @@ import 'package:compiler/src/elements/elements.dart';
export 'package:compiler/src/elements/elements.dart';
import 'package:compiler/src/js_backend/js_backend.dart' as js;
+import 'package:compiler/src/js_backend/element_strategy.dart'
+ show ElementCodegenWorkItem;
import 'package:compiler/src/commandline_options.dart';
import 'package:compiler/src/common/codegen.dart';
@@ -83,7 +85,7 @@ Future<String> compile(String code,
resolutionWork.run();
ClosedWorld closedWorld = compiler.closeResolution().closedWorld;
CodegenWorkItem work =
- new CodegenWorkItem(compiler.backend, closedWorld, element);
+ new ElementCodegenWorkItem(compiler.backend, closedWorld, element);
compiler.phase = Compiler.PHASE_COMPILING;
work.run();
js.JavaScriptBackend backend = compiler.backend;
« no previous file with comments | « pkg/compiler/lib/src/universe/codegen_world_builder.dart ('k') | tests/compiler/dart2js/type_representation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698