blob: 7035e4b038a465d43ebc28e5cf4819b59e66687d [file] [log] [blame]
var object = {
get hello() {
return 42;
}
};
var symbol = Symbol();
Object.defineProperty(object, symbol, {
get: function () {
return 42;
}
});
function ok() {
if (object[symbol] + 20 !== 62)
throw new Error();
}
noInline(ok);
for (var i = 0; i < 10000; ++i)
ok();