| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 // most cases, such API can be moved to a test library. | 193 // most cases, such API can be moved to a test library. |
| 194 dart2jslib.World world = null; | 194 dart2jslib.World world = null; |
| 195 dart2jslib.Compiler compiler = null; | 195 dart2jslib.Compiler compiler = null; |
| 196 compiler.currentlyInUserCode(); | 196 compiler.currentlyInUserCode(); |
| 197 type_graph_inferrer.TypeGraphInferrer typeGraphInferrer = null; | 197 type_graph_inferrer.TypeGraphInferrer typeGraphInferrer = null; |
| 198 source_file_provider.SourceFileProvider sourceFileProvider = null; | 198 source_file_provider.SourceFileProvider sourceFileProvider = null; |
| 199 world.hasAnyUserDefinedGetter(null); | 199 world.hasAnyUserDefinedGetter(null); |
| 200 compiler.importHelperLibrary(null); | 200 compiler.importHelperLibrary(null); |
| 201 typeGraphInferrer.getCallersOf(null); | 201 typeGraphInferrer.getCallersOf(null); |
| 202 dart_types.Types.sorted(null); | 202 dart_types.Types.sorted(null); |
| 203 new dart_types.Types(compiler, null).copy(compiler); | 203 new dart_types.Types(compiler).copy(compiler); |
| 204 new universe.TypedSelector.subclass(null, null); | 204 new universe.TypedSelector.subclass(null, null); |
| 205 new universe.TypedSelector.subtype(null, null); | 205 new universe.TypedSelector.subtype(null, null); |
| 206 new universe.TypedSelector.exact(null, null); | 206 new universe.TypedSelector.exact(null, null); |
| 207 sourceFileProvider.readStringFromUri(null); | 207 sourceFileProvider.readStringFromUri(null); |
| 208 } | 208 } |
| 209 | 209 |
| 210 useElements(elements.ClassElement e, elements.Name n) { | 210 useElements(elements.ClassElement e, elements.Name n) { |
| 211 e.lookupClassMember(null); | 211 e.lookupClassMember(null); |
| 212 e.lookupInterfaceMember(null); | 212 e.lookupInterfaceMember(null); |
| 213 n.isAccessibleFrom(null); | 213 n.isAccessibleFrom(null); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 225 ..visitExpression(null) | 225 ..visitExpression(null) |
| 226 ..visitFunctionDefinition(null) | 226 ..visitFunctionDefinition(null) |
| 227 ..visitInvokeStatic(null) | 227 ..visitInvokeStatic(null) |
| 228 ..visitLetCont(null) | 228 ..visitLetCont(null) |
| 229 ..visitNode(null) | 229 ..visitNode(null) |
| 230 ..visitParameter(null); | 230 ..visitParameter(null); |
| 231 task | 231 task |
| 232 ..hasIr(null) | 232 ..hasIr(null) |
| 233 ..getIr(null); | 233 ..getIr(null); |
| 234 } | 234 } |
| OLD | NEW |