blob: d0e57f027012362e516b1907f69a26430febc573 [file] [log] [blame]
var createBuiltin = $vm.createBuiltin;
let f = createBuiltin(`(function (arg) {
let r = @tryGetById(arg, "prototype");
if (arg !== true) throw "Bad clobber of arg";
return r;
})`);
noInline(f);
for (let i = 0; i < 10000; i++) {
f(true);
}