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); |