| Index: test/mjsunit/regress/regress-355523.js
|
| diff --git a/test/mjsunit/compare-nil.js b/test/mjsunit/regress/regress-355523.js
|
| similarity index 87%
|
| copy from test/mjsunit/compare-nil.js
|
| copy to test/mjsunit/regress/regress-355523.js
|
| index 0895a31fb80cbe697b678eaa1005926d7d65829f..d61fe844ed2cb47d58b7adf3402f92602dec4289 100644
|
| --- a/test/mjsunit/compare-nil.js
|
| +++ b/test/mjsunit/regress/regress-355523.js
|
| @@ -26,11 +26,12 @@
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| // Flags: --allow-natives-syntax
|
| +// This test requires ASAN.
|
|
|
| -function test(v) {
|
| - return (v == null);
|
| -}
|
| -assertFalse(test(true));
|
| -assertFalse(test(true));
|
| -assertTrue(test(null));
|
| -assertTrue(test(null));
|
| +function __f_4(a, b) { }
|
| +function __f_8(n) { return __f_4(arguments[13], arguments[-10]); }
|
| +function __f_6(a) { return __f_8(0, a); }
|
| +__f_8(0);
|
| +__f_8(0);
|
| +%OptimizeFunctionOnNextCall(__f_8);
|
| +__f_8(0);
|
|
|