| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 dart2js.main(arguments); | 44 dart2js.main(arguments); |
| 45 useConstant(null, null); | 45 useConstant(null, null); |
| 46 useNode(null); | 46 useNode(null); |
| 47 useUtil(null); | 47 useUtil(null); |
| 48 useSetlet(null); | 48 useSetlet(null); |
| 49 useImmutableEmptySet(null); | 49 useImmutableEmptySet(null); |
| 50 useElementVisitor(new ElementVisitor()); | 50 useElementVisitor(new ElementVisitor()); |
| 51 useJs(new js.Program(null)); | 51 useJs(new js.Program(null)); |
| 52 useJs(new js.Blob(null)); | 52 useJs(new js.Blob(null)); |
| 53 useJs(new js.NamedFunction(null, null)); | 53 useJs(new js.NamedFunction(null, null)); |
| 54 useJs(new js.ArrayHole()); |
| 54 useConcreteTypesInferrer(null); | 55 useConcreteTypesInferrer(null); |
| 55 useColor(); | 56 useColor(); |
| 56 useFilenames(); | 57 useFilenames(); |
| 57 useSsa(null); | 58 useSsa(null); |
| 58 useCodeBuffer(null); | 59 useCodeBuffer(null); |
| 59 usedByTests(); | 60 usedByTests(); |
| 60 useElements(null, null, null, null, null); | 61 useElements(null, null, null, null, null); |
| 61 useIr(null, null, null); | 62 useIr(null, null, null); |
| 62 useCompiler(null); | 63 useCompiler(null); |
| 63 useTypes(); | 64 useTypes(); |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 compiler.forgetElement(null); | 263 compiler.forgetElement(null); |
| 263 } | 264 } |
| 264 | 265 |
| 265 useTypes() { | 266 useTypes() { |
| 266 new dart_types.ResolvedTypedefType(null, null, null).unalias(null); | 267 new dart_types.ResolvedTypedefType(null, null, null).unalias(null); |
| 267 } | 268 } |
| 268 | 269 |
| 269 useCodeEmitterTask(js_emitter.CodeEmitterTask codeEmitterTask) { | 270 useCodeEmitterTask(js_emitter.CodeEmitterTask codeEmitterTask) { |
| 270 codeEmitterTask.oldEmitter.clearCspPrecompiledNodes(); | 271 codeEmitterTask.oldEmitter.clearCspPrecompiledNodes(); |
| 271 } | 272 } |
| OLD | NEW |