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

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

Issue 2875313002: Access BackendUsage through ClosedWorld (Closed)
Patch Set: Created 3 years, 7 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
Index: tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart
diff --git a/tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart b/tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart
index 702cc7b59eb57a636ebc144e9564055c76632714..3eec777c5b1fa400f82a8f06c5bac1c9bf8ad41a 100644
--- a/tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart
+++ b/tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart
@@ -25,7 +25,8 @@ void main() {
var main = compiler.mainFunction;
Expect.isNotNull(main, "Could not find 'main'");
- compiler.deferredLoadTask.onResolutionComplete(main);
+ compiler.deferredLoadTask.onResolutionComplete(
+ main, compiler.resolutionWorldBuilder.closedWorldForTesting);
var outputUnitForElement = compiler.deferredLoadTask.outputUnitForElement;
« no previous file with comments | « pkg/compiler/lib/src/world.dart ('k') | tests/compiler/dart2js/deferred_dont_inline_deferred_globals_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698