OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 the V8 project authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Flags: --turbo-loop-variable | |
6 | |
7 (function() { | |
8 function f() { | |
9 for (var i = 0; i < 4294967295; i += 2) { | |
10 if (i === 10) break; | |
11 } | |
12 } | |
13 f(); | |
14 })(); | |
15 | |
16 (function() { | |
17 function f() { | |
18 for (var i = 0; i < 4294967293; i += 2) { | |
19 if (i === 10) break; | |
20 } | |
21 } | |
22 f(); | |
23 })(); | |
OLD | NEW |