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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /// This file use methods that aren't used by dart2js.dart, but that we wish to 5 /// This file use methods that aren't used by dart2js.dart, but that we wish to
6 /// keep anyway. This might be general API that isn't currently in use, 6 /// keep anyway. This might be general API that isn't currently in use,
7 /// debugging aids, or API only used for testing (see TODO below). 7 /// debugging aids, or API only used for testing (see TODO below).
8 8
9 library dart2js.use_unused_api; 9 library dart2js.use_unused_api;
10 10
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 ..getIr(null); 242 ..getIr(null);
243 builder 243 builder
244 ..buildIntegerLiteral(null) 244 ..buildIntegerLiteral(null)
245 ..buildDoubleLiteral(null) 245 ..buildDoubleLiteral(null)
246 ..buildBooleanLiteral(null) 246 ..buildBooleanLiteral(null)
247 ..buildNullLiteral() 247 ..buildNullLiteral()
248 ..buildStringLiteral(null); 248 ..buildStringLiteral(null);
249 } 249 }
250 250
251 useCompiler(dart2jslib.Compiler compiler) { 251 useCompiler(dart2jslib.Compiler compiler) {
252 compiler.libraryLoader.reset(); 252 compiler.libraryLoader
253 compiler.libraryLoader.lookupLibrary(null); 253 ..reset()
254 ..resetAsync(null)
255 ..lookupLibrary(null);
254 } 256 }
255 257
256 useTypes() { 258 useTypes() {
257 new dart_types.ResolvedTypedefType(null, null, null).unalias(null); 259 new dart_types.ResolvedTypedefType(null, null, null).unalias(null);
258 } 260 }
OLDNEW
« 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