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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/use_unused_api.dart

Issue 350693007: Load patches via callback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix caching_compiler Created 6 years, 6 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 useJs(new js.Blob(null)); 60 useJs(new js.Blob(null));
61 useJs(new js.NamedFunction(null, null)); 61 useJs(new js.NamedFunction(null, null));
62 useConcreteTypesInferrer(null); 62 useConcreteTypesInferrer(null);
63 useColor(); 63 useColor();
64 useFilenames(); 64 useFilenames();
65 useSsa(null); 65 useSsa(null);
66 useCodeBuffer(null); 66 useCodeBuffer(null);
67 usedByTests(); 67 usedByTests();
68 useElements(null, null); 68 useElements(null, null);
69 useIr(null, null); 69 useIr(null, null);
70 useCompiler(null);
70 } 71 }
71 72
72 useApi() { 73 useApi() {
73 api.ReadStringFromUri uri; 74 api.ReadStringFromUri uri;
74 } 75 }
75 76
76 void useConstant(dart2jslib.Constant constant, dart2jslib.ConstantSystem cs) { 77 void useConstant(dart2jslib.Constant constant, dart2jslib.ConstantSystem cs) {
77 constant.isObject; 78 constant.isObject;
78 cs.isBool(constant); 79 cs.isBool(constant);
79 } 80 }
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 ..visitExpression(null) 225 ..visitExpression(null)
225 ..visitFunctionDefinition(null) 226 ..visitFunctionDefinition(null)
226 ..visitInvokeStatic(null) 227 ..visitInvokeStatic(null)
227 ..visitLetCont(null) 228 ..visitLetCont(null)
228 ..visitNode(null) 229 ..visitNode(null)
229 ..visitParameter(null); 230 ..visitParameter(null);
230 task 231 task
231 ..hasIr(null) 232 ..hasIr(null)
232 ..getIr(null); 233 ..getIr(null);
233 } 234 }
235
236 useCompiler(dart2jslib.Compiler compiler) {
237 compiler.libraryLoader.reset();
238 compiler.libraryLoader.reuseLibrary(null);
239 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698