| Index: tests/language/optimized_lists_test.dart
|
| ===================================================================
|
| --- tests/language/optimized_lists_test.dart (revision 24922)
|
| +++ tests/language/optimized_lists_test.dart (working copy)
|
| @@ -2,12 +2,13 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
| // Test program for correct optimizations related to types fo allocated lists.
|
| +// VMOptions=--optimization-counter-threshold=10
|
|
|
| import "package:expect/expect.dart";
|
|
|
| main() {
|
| // Trigger optimization of 'test' method.
|
| - for (int i = 0; i < 1000; i++) {
|
| + for (int i = 0; i < 20; i++) {
|
| test(2);
|
| }
|
| }
|
|
|