blob: 93832835cf1757100682f998cc37c981403b9d25 [file] [log] [blame]
//@ requireOptions("--forceEagerCompilation=true")
// Note that original test was using --useProbeOSRExit=1
// This test passes if it does not crash especially on ASAN builds.
let x = 0;
function Foo(a) {
a === a;
'' + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x;
}
for (let i=0; i<8; i++)
new Foo(0);
new Foo({});