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

Unified Diff: tests/compiler/dart2js/type_representation_test.dart

Issue 2939033002: Towards compiling Hello World! (Closed)
Patch Set: 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: tests/compiler/dart2js/type_representation_test.dart
diff --git a/tests/compiler/dart2js/type_representation_test.dart b/tests/compiler/dart2js/type_representation_test.dart
index 0a345a6b06873f3c61592df08b07f048031151a9..e577d18e9f079fdb0d8c0df2779b1738879e9946 100644
--- a/tests/compiler/dart2js/type_representation_test.dart
+++ b/tests/compiler/dart2js/type_representation_test.dart
@@ -46,14 +46,7 @@ void testTypeRepresentations() {
""").then((env) {
var closedWorldRefiner = env.compiler.closeResolution();
var closedWorld = closedWorldRefiner.closedWorld;
- env.compiler.enqueuer.createCodegenEnqueuer(closedWorld);
- env.compiler.backend.onCodegenStart(
- closedWorld,
- new ElementCodegenWorldBuilderImpl(
- closedWorld.elementEnvironment,
- env.compiler.backend.nativeBasicData,
- closedWorld,
- const TypeMaskStrategy()));
+ env.compiler.startCodegen(closedWorld);
TypeRepresentationGenerator typeRepresentation =
new TypeRepresentationGenerator(env.compiler.backend.namer);
« pkg/compiler/lib/src/ssa/types.dart ('K') | « pkg/compiler/lib/src/universe/world_builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698