| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 f.reuseElement(); | 222 f.reuseElement(); |
| 223 pce.copyWithEnclosing(null); | 223 pce.copyWithEnclosing(null); |
| 224 pfe.copyWithEnclosing(null); | 224 pfe.copyWithEnclosing(null); |
| 225 } | 225 } |
| 226 | 226 |
| 227 useIr(cps_ir_nodes_sexpr.SExpressionStringifier stringifier, | 227 useIr(cps_ir_nodes_sexpr.SExpressionStringifier stringifier, |
| 228 ir_builder.IrBuilderTask task, | 228 ir_builder.IrBuilderTask task, |
| 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() | 232 ..newContinuationName(null) |
| 233 ..newValueName() | 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 ..visitInvokeStatic(null) | 239 ..visitInvokeStatic(null) |
| 240 ..visitLetCont(null) | 240 ..visitLetCont(null) |
| 241 ..visitNode(null) | 241 ..visitNode(null) |
| 242 ..visitParameter(null); | 242 ..visitParameter(null); |
| 243 task | 243 task |
| (...skipping 17 matching lines...) Expand all Loading... |
| 261 compiler.forgetElement(null); | 261 compiler.forgetElement(null); |
| 262 } | 262 } |
| 263 | 263 |
| 264 useTypes() { | 264 useTypes() { |
| 265 new dart_types.ResolvedTypedefType(null, null, null).unalias(null); | 265 new dart_types.ResolvedTypedefType(null, null, null).unalias(null); |
| 266 } | 266 } |
| 267 | 267 |
| 268 useCodeEmitterTask(js_emitter.CodeEmitterTask codeEmitterTask) { | 268 useCodeEmitterTask(js_emitter.CodeEmitterTask codeEmitterTask) { |
| 269 codeEmitterTask.oldEmitter.clearCspPrecompiledNodes(); | 269 codeEmitterTask.oldEmitter.clearCspPrecompiledNodes(); |
| 270 } | 270 } |
| OLD | NEW |