| Index: test/mjsunit/regress/regress-crbug-318671.js
|
| diff --git a/test/mjsunit/compiler/minus-zero.js b/test/mjsunit/regress/regress-crbug-318671.js
|
| similarity index 92%
|
| copy from test/mjsunit/compiler/minus-zero.js
|
| copy to test/mjsunit/regress/regress-crbug-318671.js
|
| index 6efceb54e36834c217732a7974f0c5d2a2cca132..54a7d5eeb6c597195dadbdf996fbd029a5b504e0 100644
|
| --- a/test/mjsunit/compiler/minus-zero.js
|
| +++ b/test/mjsunit/regress/regress-crbug-318671.js
|
| @@ -27,11 +27,12 @@
|
|
|
| // Flags: --allow-natives-syntax
|
|
|
| -function add(x, y) {
|
| - return x + y;
|
| -}
|
| +function add(x, y) { return x + y; }
|
| +
|
| +print(add({ a: 1 }, "a"));
|
| +print(add({ b: 1 }, "b"));
|
| +print(add({ c: 1 }, "c"));
|
|
|
| -assertEquals(0, add(0, 0));
|
| -assertEquals(0, add(0, 0));
|
| %OptimizeFunctionOnNextCall(add);
|
| -assertEquals(-0, add(-0, -0));
|
| +
|
| +print(add("a", 1));
|
|
|