| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 // VMOptions=--optimization_counter_threshold=100 | 4 // VMOptions=--optimization_counter_threshold=100 --no-background_compilation |
| 5 | 5 |
| 6 // Test field type tracking and field list-length tracking in the presence of | 6 // Test field type tracking and field list-length tracking in the presence of |
| 7 // multiple isolates. | 7 // multiple isolates. |
| 8 | 8 |
| 9 import "dart:isolate"; | 9 import "dart:isolate"; |
| 10 import "dart:async"; | 10 import "dart:async"; |
| 11 import "package:expect/expect.dart"; | 11 import "package:expect/expect.dart"; |
| 12 import 'package:async_helper/async_helper.dart'; | 12 import 'package:async_helper/async_helper.dart'; |
| 13 | 13 |
| 14 class A { | 14 class A { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 Expect.throws(() => test_c(value), (e) => e is RangeError); | 66 Expect.throws(() => test_c(value), (e) => e is RangeError); |
| 67 receive_port.close(); | 67 receive_port.close(); |
| 68 asyncEnd(); | 68 asyncEnd(); |
| 69 }); | 69 }); |
| 70 } | 70 } |
| 71 | 71 |
| 72 main() { | 72 main() { |
| 73 test_field_type(); | 73 test_field_type(); |
| 74 test_list_length(); | 74 test_list_length(); |
| 75 } | 75 } |
| OLD | NEW |