| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 } |
| 235 | 235 |
| 236 useCompiler(dart2jslib.Compiler compiler) { | 236 useCompiler(dart2jslib.Compiler compiler) { |
| 237 compiler.libraryLoader.reset(); | 237 compiler.libraryLoader.reset(); |
| 238 compiler.libraryLoader.reuseLibrary(null); | 238 compiler.libraryLoader.lookupLibrary(null); |
| 239 } | 239 } |
| OLD | NEW |