| Index: src/runtime.js
|
| diff --git a/src/runtime.js b/src/runtime.js
|
| index d7770414a3b2376c408abdc271025de80629885c..3f23ce5621f2f784fd58ed2358d06833e98894de 100644
|
| --- a/src/runtime.js
|
| +++ b/src/runtime.js
|
| @@ -577,11 +577,11 @@ function SameValue(x, y) {
|
| if (IS_NUMBER(x)) {
|
| if (NUMBER_IS_NAN(x) && NUMBER_IS_NAN(y)) return true;
|
| // x is +0 and y is -0 or vice versa
|
| - if (x === 0 && y === 0 && !%_IsSmi(x) && !%_IsSmi(y) &&
|
| + if (x === 0 && y === 0 && !%_IsSmi(x) && !%_IsSmi(y) &&
|
| ((1 / x < 0 && 1 / y > 0) || (1 / x > 0 && 1 / y < 0))) {
|
| return false;
|
| }
|
| - return x == y;
|
| + return x == y;
|
| }
|
| if (IS_STRING(x)) return %StringEquals(x, y);
|
| if (IS_BOOLEAN(x))return %NumberEquals(%ToNumber(x),%ToNumber(y));
|
|
|