| Index: test/mjsunit/math-min-max.js
|
| diff --git a/test/mjsunit/math-min-max.js b/test/mjsunit/math-min-max.js
|
| index 72d8ba30d9b9e3cb3b90160cb642b2d8352bfe7e..13d54a35a91f2899392d1ad54475470294269473 100644
|
| --- a/test/mjsunit/math-min-max.js
|
| +++ b/test/mjsunit/math-min-max.js
|
| @@ -55,7 +55,10 @@ var ZERO = (function() {
|
| assertEquals(0, ZERO);
|
| assertEquals(Infinity, 1/ZERO);
|
| assertEquals(-Infinity, 1/-ZERO);
|
| -assertFalse(%_IsSmi(ZERO));
|
| +// Here we would like to have assertFalse(%_IsSmi(ZERO)); This is, however,
|
| +// unreliable, since a new space exhaustion at a critical moment could send
|
| +// us into the runtime system, which would quite legitimately put a Smi zero
|
| +// here.
|
| assertFalse(%_IsSmi(-ZERO));
|
|
|
| var o = {};
|
|
|