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() { |