| 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 import "package:expect/expect.dart"; | |
| 6 import "mock_compiler.dart"; | 5 import "mock_compiler.dart"; |
| 7 import "parser_helper.dart"; | 6 import "parser_helper.dart"; |
| 8 import "../../../sdk/lib/_internal/compiler/implementation/ssa/ssa.dart"; | 7 import "../../../sdk/lib/_internal/compiler/implementation/ssa/ssa.dart"; |
| 9 import "../../../sdk/lib/_internal/compiler/implementation/types/types.dart"; | 8 import "../../../sdk/lib/_internal/compiler/implementation/types/types.dart"; |
| 10 | 9 |
| 11 const CONFLICTING = HType.CONFLICTING; | 10 const CONFLICTING = HType.CONFLICTING; |
| 12 const UNKNOWN = HType.UNKNOWN; | 11 const UNKNOWN = HType.UNKNOWN; |
| 13 const BOOLEAN = HType.BOOLEAN; | 12 const BOOLEAN = HType.BOOLEAN; |
| 14 const NUMBER = HType.NUMBER; | 13 const NUMBER = HType.NUMBER; |
| 15 const INTEGER = HType.INTEGER; | 14 const INTEGER = HType.INTEGER; |
| (...skipping 2053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2069 compiler.backend.jsFixedArrayClass.computeType(compiler), compiler); | 2068 compiler.backend.jsFixedArrayClass.computeType(compiler), compiler); |
| 2070 jsExtendableArrayOrNull = new HType.exact( | 2069 jsExtendableArrayOrNull = new HType.exact( |
| 2071 compiler.backend.jsExtendableArrayClass.computeType(compiler), compiler); | 2070 compiler.backend.jsExtendableArrayClass.computeType(compiler), compiler); |
| 2072 jsIndexableOrNull = new HType.subtype( | 2071 jsIndexableOrNull = new HType.subtype( |
| 2073 compiler.backend.jsIndexableClass.computeType(compiler), compiler); | 2072 compiler.backend.jsIndexableClass.computeType(compiler), compiler); |
| 2074 | 2073 |
| 2075 testUnion(compiler); | 2074 testUnion(compiler); |
| 2076 testIntersection(compiler); | 2075 testIntersection(compiler); |
| 2077 testRegressions(compiler); | 2076 testRegressions(compiler); |
| 2078 } | 2077 } |
| OLD | NEW |