blob: c4dad8d3fd39a10e06d05c0aac4dedcc6ccbb654 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function foo(a, b, c) {
a[b] = c;
return a[b];
}
noInline(foo);
for (var i = 0; i < 100000; ++i) {
var result = foo({}, "foo", "bar");
if (result !== "bar")
throw "Error: bad result: " + result;
}