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 c09bb2b85cad99e59208b3d497c4231b88d0217d..b3049243a3bdd74b59b146ec006ad9d434b1a9a4 100644 |
--- a/tests/compiler/dart2js/type_representation_test.dart |
+++ b/tests/compiler/dart2js/type_representation_test.dart |
@@ -44,11 +44,13 @@ void testTypeRepresentations() { |
m10(void f(int a, [b])) {} |
""").then((env) { |
var closedWorldRefiner = env.compiler.closeResolution(); |
+ var closedWorld = closedWorldRefiner.closedWorld; |
+ env.compiler.enqueuer.createCodegenEnqueuer(closedWorld); |
env.compiler.backend.onCodegenStart( |
- closedWorldRefiner.closedWorld, |
+ closedWorld, |
new CodegenWorldBuilderImpl( |
env.compiler.backend.nativeClassData, |
- closedWorldRefiner.closedWorld, |
+ closedWorld, |
env.compiler.backend.constants, |
const TypeMaskStrategy())); |
TypeRepresentationGenerator typeRepresentation = |