summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug716624-2.js
blob: 9f6531e6b91cb8518d84b3f33e618758f5cdac06 (plain)
1
2
3
4
5
6
7
8
function getprop (obj) {
  return obj.nonexist;
}

for (var n = 0; n < 100; n++) {
  var a = (n % 2) ? ((n % 3) ? new Object() : new Object()) : new Object();
  getprop(a);
}