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 e577d18e9f079fdb0d8c0df2779b1738879e9946..0a345a6b06873f3c61592df08b07f048031151a9 100644 |
--- a/tests/compiler/dart2js/type_representation_test.dart |
+++ b/tests/compiler/dart2js/type_representation_test.dart |
@@ -46,7 +46,14 @@ void testTypeRepresentations() { |
""").then((env) { |
var closedWorldRefiner = env.compiler.closeResolution(); |
var closedWorld = closedWorldRefiner.closedWorld; |
- env.compiler.startCodegen(closedWorld); |
+ env.compiler.enqueuer.createCodegenEnqueuer(closedWorld); |
+ env.compiler.backend.onCodegenStart( |
+ closedWorld, |
+ new ElementCodegenWorldBuilderImpl( |
+ closedWorld.elementEnvironment, |
+ env.compiler.backend.nativeBasicData, |
+ closedWorld, |
+ const TypeMaskStrategy())); |
TypeRepresentationGenerator typeRepresentation = |
new TypeRepresentationGenerator(env.compiler.backend.namer); |