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

Side by Side Diff: dart/pkg/compiler/lib/src/use_unused_api.dart

Issue 789873003: Update unit tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | dart/tests/try/poi/apply_updates_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 useColor(); 56 useColor();
57 useFilenames(); 57 useFilenames();
58 useSsa(null); 58 useSsa(null);
59 useCodeBuffer(null); 59 useCodeBuffer(null);
60 usedByTests(); 60 usedByTests();
61 useElements(null, null, null, null, null); 61 useElements(null, null, null, null, null);
62 useIr(null, null, null); 62 useIr(null, null, null);
63 useCompiler(null); 63 useCompiler(null);
64 useTypes(); 64 useTypes();
65 useCodeEmitterTask(null); 65 useCodeEmitterTask(null);
66 useScript(null);
66 } 67 }
67 68
68 useApi() { 69 useApi() {
69 api.ReadStringFromUri uri; 70 api.ReadStringFromUri uri;
70 } 71 }
71 72
72 void useConstant(constants.ConstantValue constant, 73 void useConstant(constants.ConstantValue constant,
73 dart2jslib.ConstantSystem cs) { 74 dart2jslib.ConstantSystem cs) {
74 constant.isObject; 75 constant.isObject;
75 cs.isBool(constant); 76 cs.isBool(constant);
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 compiler.forgetElement(null); 264 compiler.forgetElement(null);
264 } 265 }
265 266
266 useTypes() { 267 useTypes() {
267 new dart_types.ResolvedTypedefType(null, null, null).unalias(null); 268 new dart_types.ResolvedTypedefType(null, null, null).unalias(null);
268 } 269 }
269 270
270 useCodeEmitterTask(js_emitter.CodeEmitterTask codeEmitterTask) { 271 useCodeEmitterTask(js_emitter.CodeEmitterTask codeEmitterTask) {
271 codeEmitterTask.oldEmitter.clearCspPrecompiledNodes(); 272 codeEmitterTask.oldEmitter.clearCspPrecompiledNodes();
272 } 273 }
274
275 useScript(dart2jslib.Script script) {
276 script.copyWithFile(null);
277 }
OLDNEW
« no previous file with comments | « no previous file | dart/tests/try/poi/apply_updates_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698