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

Unified Diff: tests/compiler/dart2js/serialization/model_test_helper.dart

Issue 2349163003: Move towards using WorldImpact for codegen (Closed)
Patch Set: Reinsert missing features uses. Created 4 years, 3 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 | « tests/compiler/dart2js/related_types_test.dart ('k') | tests/compiler/dart2js/type_combination_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/serialization/model_test_helper.dart
diff --git a/tests/compiler/dart2js/serialization/model_test_helper.dart b/tests/compiler/dart2js/serialization/model_test_helper.dart
index c97d1ea87990cdf6f1ab4ee8ae4eb072e1741f32..90cde97f25cdf9d679edf824a0715cd6e99a357f 100644
--- a/tests/compiler/dart2js/serialization/model_test_helper.dart
+++ b/tests/compiler/dart2js/serialization/model_test_helper.dart
@@ -73,7 +73,7 @@ Future checkModels(Uri entryPoint,
compilerNormal.resolution.retainCachesForTesting = true;
await compilerNormal.run(entryPoint);
compilerNormal.phase = Compiler.PHASE_DONE_RESOLVING;
- compilerNormal.openWorld.populate();
+ compilerNormal.openWorld.closeWorld();
compilerNormal.backend.onResolutionComplete();
compilerNormal.deferredLoadTask
.onResolutionComplete(compilerNormal.mainFunction);
@@ -89,7 +89,7 @@ Future checkModels(Uri entryPoint,
compilerDeserialized.resolution.retainCachesForTesting = true;
await compilerDeserialized.run(entryPoint);
compilerDeserialized.phase = Compiler.PHASE_DONE_RESOLVING;
- compilerDeserialized.openWorld.populate();
+ compilerDeserialized.openWorld.closeWorld();
compilerDeserialized.backend.onResolutionComplete();
compilerDeserialized.deferredLoadTask
.onResolutionComplete(compilerDeserialized.mainFunction);
« no previous file with comments | « tests/compiler/dart2js/related_types_test.dart ('k') | tests/compiler/dart2js/type_combination_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698