blob: d61dedd317c06e4895195006da9413280ccba0b4 [file] [log] [blame]
//@ runDefault("--jitPolicyScale=0", "--validateAbstractInterpreterState=1")
let code = `
function foo() {
let o = /a/;
o.lastIndex = undefined;
o.toString();
}
for (let i = 0; i < 400; ++i) {
foo();
}
`
for (let i=0; i<100; i++) {
runString(code);
}