blob: 637938e6822c3733eb58f0015a4cb80054aa3ede [file] [log] [blame]
//@ requireOptions("--jitPolicyScale=0", "--slowPathAllocsBetweenGCs=15")
function foo(a0, a1, a2, a3, ...a4) {
function bar() {
for (let i=0; i<10; i++) {
new Uint8Array(arguments);
arguments[0];
try {
0..waffles();
} catch (e) {
}
foo.__proto__ = arguments;
}
}
bar();
}
for (let i=0; i<100; i++) {
foo();
}