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