| 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 "../../../sdk/lib/_internal/compiler/implementation/js_backend/js_backend
.dart"; | 5 import "../../../sdk/lib/_internal/compiler/implementation/js_backend/js_backend
.dart"; |
| 7 import "../../../sdk/lib/_internal/compiler/implementation/ssa/ssa.dart"; | 6 import "../../../sdk/lib/_internal/compiler/implementation/ssa/ssa.dart"; |
| 8 | 7 |
| 9 import 'compiler_helper.dart'; | 8 import 'compiler_helper.dart'; |
| 10 import 'parser_helper.dart'; | 9 import 'parser_helper.dart'; |
| 11 | 10 |
| 12 void compileAndFind(String code, | 11 void compileAndFind(String code, |
| 13 String functionName, | 12 String functionName, |
| 14 bool disableInlining, | 13 bool disableInlining, |
| 15 check(compiler, element)) { | 14 check(compiler, element)) { |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 runTest(TEST_SIX, [HType.NUMBER]); | 104 runTest(TEST_SIX, [HType.NUMBER]); |
| 106 runTest(TEST_SEVEN); | 105 runTest(TEST_SEVEN); |
| 107 runTest(TEST_EIGHT, [HType.INTEGER, HType.UNKNOWN]); | 106 runTest(TEST_EIGHT, [HType.INTEGER, HType.UNKNOWN]); |
| 108 runTest(TEST_NINE); | 107 runTest(TEST_NINE); |
| 109 runTest(TEST_TEN); | 108 runTest(TEST_TEN); |
| 110 } | 109 } |
| 111 | 110 |
| 112 void main() { | 111 void main() { |
| 113 test(); | 112 test(); |
| 114 } | 113 } |
| OLD | NEW |