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

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

Issue 2939033002: Towards compiling Hello World! (Closed)
Patch Set: Fix parameter ordering 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 a2782c72fe2def902f7b71abac19fb53e72abdbe..9b0cd87577b284317ceff620c0ddda8ab1317cb5 100644
--- a/tests/compiler/dart2js/type_representation_test.dart
+++ b/tests/compiler/dart2js/type_representation_test.dart
@@ -49,14 +49,7 @@ void testTypeRepresentations() {
var closedWorldRefiner =
env.compiler.closeResolution(elementEnvironment.mainFunction);
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);

Powered by Google App Engine
This is Rietveld 408576698