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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/use_unused_api.dart

Issue 564373004: Add LibraryLoader.resetAsync. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Restore code. Created 6 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 | « dart/sdk/lib/_internal/compiler/implementation/library_loader.dart ('k') | dart/site/try/poi/poi.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/_internal/compiler/implementation/use_unused_api.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/use_unused_api.dart b/dart/sdk/lib/_internal/compiler/implementation/use_unused_api.dart
index 4d31f056c90cb7567a2cb3d7ab3541b620ddf92c..ff6b33ce3eec51bc753f8e0fcdbcab9c6b67e2fd 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/use_unused_api.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/use_unused_api.dart
@@ -249,8 +249,10 @@ useIr(cps_ir_nodes_sexpr.SExpressionStringifier stringifier,
}
useCompiler(dart2jslib.Compiler compiler) {
- compiler.libraryLoader.reset();
- compiler.libraryLoader.lookupLibrary(null);
+ compiler.libraryLoader
+ ..reset()
+ ..resetAsync(null)
+ ..lookupLibrary(null);
}
useTypes() {
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/library_loader.dart ('k') | dart/site/try/poi/poi.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698