blob: e7b9dd9ac5e750d438103a3c4849f618bc4c4fed [file] [log] [blame]
//@ runDefault("--jitPolicyScale=0")
function foo() {
function bar(a0, a1, a2) {
let s = 'a'.replace('', a1);
for (let i=0; i<100; i++) {
a0[s] = {};
}
}
bar(0.1, bar);
}
for (let i=0; i<5; i++) {
runString(`${foo.toString()}; for (let i=0; i<100; i++) { foo(); }`);
gc();
}