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

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

Issue 923013002: dart2dart: Implementation of simple try/catch. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 useJsNode(new js.ArrayHole()); 56 useJsNode(new js.ArrayHole());
57 useJsOther(new js.SimpleJavaScriptPrintingContext()); 57 useJsOther(new js.SimpleJavaScriptPrintingContext());
58 useJsBackend(null); 58 useJsBackend(null);
59 useConcreteTypesInferrer(null); 59 useConcreteTypesInferrer(null);
60 useColor(); 60 useColor();
61 useFilenames(); 61 useFilenames();
62 useSsa(null); 62 useSsa(null);
63 useCodeBuffer(null); 63 useCodeBuffer(null);
64 usedByTests(); 64 usedByTests();
65 useElements(null, null, null, null, null); 65 useElements(null, null, null, null, null);
66 useIr(null, null, null); 66 useIr(null, null);
67 useCompiler(null); 67 useCompiler(null);
68 useTypes(); 68 useTypes();
69 useCodeEmitterTask(null); 69 useCodeEmitterTask(null);
70 useScript(null); 70 useScript(null);
71 useProgramBuilder(null); 71 useProgramBuilder(null);
72 } 72 }
73 73
74 useApi() { 74 useApi() {
75 api.ReadStringFromUri uri; 75 api.ReadStringFromUri uri;
76 } 76 }
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 PartialClassElement pce, 234 PartialClassElement pce,
235 PartialFunctionElement pfe) { 235 PartialFunctionElement pfe) {
236 e.lookupClassMember(null); 236 e.lookupClassMember(null);
237 e.lookupInterfaceMember(null); 237 e.lookupInterfaceMember(null);
238 n.isAccessibleFrom(null); 238 n.isAccessibleFrom(null);
239 f.reuseElement(); 239 f.reuseElement();
240 pce.copyWithEnclosing(null); 240 pce.copyWithEnclosing(null);
241 pfe.copyWithEnclosing(null); 241 pfe.copyWithEnclosing(null);
242 } 242 }
243 243
244 useIr(cps_ir_nodes_sexpr.SExpressionStringifier stringifier, 244 useIr(ir_builder.IrBuilderTask task,
245 ir_builder.IrBuilderTask task,
246 ir_builder.IrBuilder builder) { 245 ir_builder.IrBuilder builder) {
247 new cps_ir_nodes_sexpr.SExpressionStringifier();
248 stringifier
249 ..newContinuationName(null)
250 ..newValueName(null)
251 ..visitConstant(null)
252 ..visitContinuation(null)
253 ..visitDefinition(null)
254 ..visitExpression(null)
255 ..visitFunctionDefinition(null)
256 ..visitFieldDefinition(null)
257 ..visitInvokeStatic(null)
258 ..visitLetCont(null)
259 ..visitNode(null)
260 ..visitParameter(null);
261 task 246 task
262 ..hasIr(null) 247 ..hasIr(null)
263 ..getIr(null); 248 ..getIr(null);
264 builder 249 builder
265 ..buildIntegerLiteral(null) 250 ..buildIntegerLiteral(null)
266 ..buildDoubleLiteral(null) 251 ..buildDoubleLiteral(null)
267 ..buildBooleanLiteral(null) 252 ..buildBooleanLiteral(null)
268 ..buildNullLiteral() 253 ..buildNullLiteral()
269 ..buildStringLiteral(null) 254 ..buildStringLiteral(null)
270 ..buildDynamicGet(null, null); 255 ..buildDynamicGet(null, null);
(...skipping 16 matching lines...) Expand all
287 } 272 }
288 273
289 useScript(dart2jslib.Script script) { 274 useScript(dart2jslib.Script script) {
290 script.copyWithFile(null); 275 script.copyWithFile(null);
291 } 276 }
292 277
293 useProgramBuilder(program_builder.ProgramBuilder builder) { 278 useProgramBuilder(program_builder.ProgramBuilder builder) {
294 builder.buildMethodHackForIncrementalCompilation(null); 279 builder.buildMethodHackForIncrementalCompilation(null);
295 builder.buildFieldsHackForIncrementalCompilation(null); 280 builder.buildFieldsHackForIncrementalCompilation(null);
296 } 281 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698