OLD | NEW |
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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 ir_builder.IrBuilder builder) { | 229 ir_builder.IrBuilder builder) { |
230 new cps_ir_nodes_sexpr.SExpressionStringifier(); | 230 new cps_ir_nodes_sexpr.SExpressionStringifier(); |
231 stringifier | 231 stringifier |
232 ..newContinuationName(null) | 232 ..newContinuationName(null) |
233 ..newValueName(null) | 233 ..newValueName(null) |
234 ..visitConstant(null) | 234 ..visitConstant(null) |
235 ..visitContinuation(null) | 235 ..visitContinuation(null) |
236 ..visitDefinition(null) | 236 ..visitDefinition(null) |
237 ..visitExpression(null) | 237 ..visitExpression(null) |
238 ..visitFunctionDefinition(null) | 238 ..visitFunctionDefinition(null) |
| 239 ..visitFieldDefinition(null) |
239 ..visitInvokeStatic(null) | 240 ..visitInvokeStatic(null) |
240 ..visitLetCont(null) | 241 ..visitLetCont(null) |
241 ..visitNode(null) | 242 ..visitNode(null) |
242 ..visitParameter(null); | 243 ..visitParameter(null); |
243 task | 244 task |
244 ..hasIr(null) | 245 ..hasIr(null) |
245 ..getIr(null); | 246 ..getIr(null); |
246 builder | 247 builder |
247 ..buildIntegerLiteral(null) | 248 ..buildIntegerLiteral(null) |
248 ..buildDoubleLiteral(null) | 249 ..buildDoubleLiteral(null) |
(...skipping 12 matching lines...) Expand all Loading... |
261 compiler.forgetElement(null); | 262 compiler.forgetElement(null); |
262 } | 263 } |
263 | 264 |
264 useTypes() { | 265 useTypes() { |
265 new dart_types.ResolvedTypedefType(null, null, null).unalias(null); | 266 new dart_types.ResolvedTypedefType(null, null, null).unalias(null); |
266 } | 267 } |
267 | 268 |
268 useCodeEmitterTask(js_emitter.CodeEmitterTask codeEmitterTask) { | 269 useCodeEmitterTask(js_emitter.CodeEmitterTask codeEmitterTask) { |
269 codeEmitterTask.oldEmitter.clearCspPrecompiledNodes(); | 270 codeEmitterTask.oldEmitter.clearCspPrecompiledNodes(); |
270 } | 271 } |
OLD | NEW |