Index: tests/language/bit_shift_test.dart |
diff --git a/tests/language/bit_shift_test.dart b/tests/language/bit_shift_test.dart |
index e939e5a49163a820f711563c029027a22d879ff1..8493936982f03549ff8a3fa750572548e2627b8f 100644 |
--- a/tests/language/bit_shift_test.dart |
+++ b/tests/language/bit_shift_test.dart |
@@ -1,6 +1,7 @@ |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// 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. |
+// VMOptions=--optimization-counter-threshold=10 |
import "package:expect/expect.dart"; |
@@ -49,7 +50,9 @@ speculative() { |
// JavaScript shifts by the amount modulo 32. That is x << y is equivalent to |
// x << (y & 0x1F). Dart does not. |
main() { |
- constants(); |
- interceptors(); |
- speculative(); |
+ for (var i = 0; i < 10; ++i) { |
+ constants(); |
+ interceptors(); |
+ speculative(); |
+ } |
} |