| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 library dart2js.kernel.impact_test; | 5 library dart2js.kernel.impact_test; |
| 6 | 6 |
| 7 import 'package:async_helper/async_helper.dart'; | 7 import 'package:async_helper/async_helper.dart'; |
| 8 import 'package:compiler/src/commandline_options.dart'; | 8 import 'package:compiler/src/commandline_options.dart'; |
| 9 import 'package:compiler/src/common.dart'; | 9 import 'package:compiler/src/common.dart'; |
| 10 import 'package:compiler/src/common/names.dart'; | 10 import 'package:compiler/src/common/names.dart'; |
| 11 import 'package:compiler/src/common/resolution.dart'; | 11 import 'package:compiler/src/common/resolution.dart'; |
| 12 import 'package:compiler/src/compiler.dart'; | 12 import 'package:compiler/src/compiler.dart'; |
| 13 import 'package:compiler/src/constants/expressions.dart'; | 13 import 'package:compiler/src/constants/expressions.dart'; |
| 14 import 'package:compiler/src/dart_types.dart'; | 14 import 'package:compiler/src/elements/resolution_types.dart'; |
| 15 import 'package:compiler/src/elements/elements.dart'; | 15 import 'package:compiler/src/elements/elements.dart'; |
| 16 import 'package:compiler/src/resolution/registry.dart'; | 16 import 'package:compiler/src/resolution/registry.dart'; |
| 17 import 'package:compiler/src/resolution/tree_elements.dart'; | 17 import 'package:compiler/src/resolution/tree_elements.dart'; |
| 18 import 'package:compiler/src/ssa/kernel_impact.dart'; | 18 import 'package:compiler/src/ssa/kernel_impact.dart'; |
| 19 import 'package:compiler/src/serialization/equivalence.dart'; | 19 import 'package:compiler/src/serialization/equivalence.dart'; |
| 20 import 'package:compiler/src/universe/call_structure.dart'; | 20 import 'package:compiler/src/universe/call_structure.dart'; |
| 21 import 'package:compiler/src/universe/feature.dart'; | 21 import 'package:compiler/src/universe/feature.dart'; |
| 22 import 'package:compiler/src/universe/use.dart'; | 22 import 'package:compiler/src/universe/use.dart'; |
| 23 import 'package:expect/expect.dart'; | 23 import 'package:expect/expect.dart'; |
| 24 import '../memory_compiler.dart'; | 24 import '../memory_compiler.dart'; |
| (...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 821 visitList(type.optionalParameterTypes), | 821 visitList(type.optionalParameterTypes), |
| 822 type.namedParameters, | 822 type.namedParameters, |
| 823 visitList(type.namedParameterTypes)); | 823 visitList(type.namedParameterTypes)); |
| 824 } | 824 } |
| 825 } | 825 } |
| 826 | 826 |
| 827 /// Perform unaliasing of all typedefs nested within a [DartType]. | 827 /// Perform unaliasing of all typedefs nested within a [DartType]. |
| 828 DartType unalias(DartType type) { | 828 DartType unalias(DartType type) { |
| 829 return const Unaliaser().visit(type); | 829 return const Unaliaser().visit(type); |
| 830 } | 830 } |
| OLD | NEW |