| Index: test/mjsunit/compiler/regress-loop-variable-unsigned.js
|
| diff --git a/test/mjsunit/compiler/regress-loop-variable-unsigned.js b/test/mjsunit/compiler/regress-loop-variable-unsigned.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..751136eb131f53a3dc2daa01eba734eef643f51f
|
| --- /dev/null
|
| +++ b/test/mjsunit/compiler/regress-loop-variable-unsigned.js
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2016 the V8 project authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// Flags: --turbo-loop-variable
|
| +
|
| +(function() {
|
| + function f() {
|
| + for (var i = 0; i < 4294967295; i += 2) {
|
| + if (i === 10) break;
|
| + }
|
| + }
|
| + f();
|
| +})();
|
| +
|
| +(function() {
|
| + function f() {
|
| + for (var i = 0; i < 4294967293; i += 2) {
|
| + if (i === 10) break;
|
| + }
|
| + }
|
| + f();
|
| +})();
|
|
|