| 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 |
| 11 import '../compiler.dart' as api; | 11 import '../compiler.dart' as api; |
| 12 | 12 |
| 13 import 'colors.dart' as colors; | 13 import 'colors.dart' as colors; |
| 14 import 'constants/values.dart' as constants; | 14 import 'constants/values.dart' as constants; |
| 15 import 'cps_ir/cps_ir_builder.dart' as ir_builder; | 15 import 'cps_ir/cps_ir_builder.dart' as ir_builder; |
| 16 import 'cps_ir/cps_ir_builder_task.dart' as ir_builder; |
| 16 import 'cps_ir/cps_ir_nodes_sexpr.dart' as cps_ir_nodes_sexpr; | 17 import 'cps_ir/cps_ir_nodes_sexpr.dart' as cps_ir_nodes_sexpr; |
| 17 import 'dart_types.dart' as dart_types; | 18 import 'dart_types.dart' as dart_types; |
| 18 import 'dart2js.dart' as dart2js; | 19 import 'dart2js.dart' as dart2js; |
| 19 import 'dart2jslib.dart' as dart2jslib; | 20 import 'dart2jslib.dart' as dart2jslib; |
| 20 import 'elements/elements.dart' as elements; | 21 import 'elements/elements.dart' as elements; |
| 21 import 'elements/modelx.dart' as modelx; | 22 import 'elements/modelx.dart' as modelx; |
| 22 import 'elements/visitor.dart' as elements_visitor; | 23 import 'elements/visitor.dart' as elements_visitor; |
| 23 import 'filenames.dart' as filenames; | 24 import 'filenames.dart' as filenames; |
| 24 import 'inferrer/concrete_types_inferrer.dart' as concrete_types_inferrer; | 25 import 'inferrer/concrete_types_inferrer.dart' as concrete_types_inferrer; |
| 25 import 'inferrer/type_graph_inferrer.dart' as type_graph_inferrer; | 26 import 'inferrer/type_graph_inferrer.dart' as type_graph_inferrer; |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 } | 284 } |
| 284 | 285 |
| 285 useScript(dart2jslib.Script script) { | 286 useScript(dart2jslib.Script script) { |
| 286 script.copyWithFile(null); | 287 script.copyWithFile(null); |
| 287 } | 288 } |
| 288 | 289 |
| 289 useProgramBuilder(program_builder.ProgramBuilder builder) { | 290 useProgramBuilder(program_builder.ProgramBuilder builder) { |
| 290 builder.buildMethodHackForIncrementalCompilation(null); | 291 builder.buildMethodHackForIncrementalCompilation(null); |
| 291 builder.buildFieldsHackForIncrementalCompilation(null); | 292 builder.buildFieldsHackForIncrementalCompilation(null); |
| 292 } | 293 } |
| OLD | NEW |