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

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

Issue 2745133002: Create LookupMapAnalysis late. (Closed)
Patch Set: Updated cf. comment. Created 3 years, 9 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
« no previous file with comments | « pkg/compiler/lib/src/js_backend/resolution_listener.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 =
« no previous file with comments | « pkg/compiler/lib/src/js_backend/resolution_listener.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698