| 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 className, | 12 String className, |
| 14 String memberName, | 13 String memberName, |
| 15 bool disableInlining, | 14 bool disableInlining, |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 defaultTypes.update(0, const SourceString("p2"), HType.INTEGER); | 265 defaultTypes.update(0, const SourceString("p2"), HType.INTEGER); |
| 267 defaultTypes.update(1, const SourceString("p3"), HType.STRING); | 266 defaultTypes.update(1, const SourceString("p3"), HType.STRING); |
| 268 runTest(TEST_17, [HType.INTEGER, HType.BOOLEAN, HType.DOUBLE], defaultTypes); | 267 runTest(TEST_17, [HType.INTEGER, HType.BOOLEAN, HType.DOUBLE], defaultTypes); |
| 269 | 268 |
| 270 runTest(TEST_18); | 269 runTest(TEST_18); |
| 271 } | 270 } |
| 272 | 271 |
| 273 void main() { | 272 void main() { |
| 274 test(); | 273 test(); |
| 275 } | 274 } |
| OLD | NEW |