blob: 87e0e44398bb87de6b43d9b1de36447bdb4cd3f8 [file] [log] [blame]
//@ requireOptions("--useProbeOSRExit=true", "--forceEagerCompilation=true")
// 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({});