blob: 9b908906ec26028425b5b70c341d98a8ef2acbb7 [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 = {
cocoa: 40,
cappuccino: 41
};
for (var i = 0; i < 1e6; ++i) {
test(o1);
test(o2);
}