blob: e9e7754e974cefe761dfc4e871ed3e4e7f41c806 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function test(object)
{
if ("cocoa" in object)
return object.cocoa;
return 0;
}
noInline(test);
var o1 = {
cocoa: 42
};
var o2 = {
cappuccino: 41
};
for (var i = 0; i < 1e6; ++i) {
test(o1);
test(o2);
}