| Index: test/mjsunit/regress/regress-crbug-679202.js
|
| diff --git a/test/mjsunit/regress/regress-crbug-679202.js b/test/mjsunit/regress/regress-crbug-679202.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e4350224fd57dc605adda9c53466dbaed522620e
|
| --- /dev/null
|
| +++ b/test/mjsunit/regress/regress-crbug-679202.js
|
| @@ -0,0 +1,14 @@
|
| +// Copyright 2017 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: --allow-natives-syntax
|
| +
|
| +var x = Object.prototype;
|
| +
|
| +function f() { return x <= x; }
|
| +
|
| +f();
|
| +f();
|
| +%OptimizeFunctionOnNextCall(f);
|
| +f();
|
|
|