summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug691747.js
blob: 117899d69dc9d70570db63d9c4005ee3f37bdf12 (plain)
1
2
3
4
5
6
7
8
9
10
11
function reportCompare(actual) { return - ++actual + "'"; }
var UBound = 0;
var actualvalues = [];
for (var li = 0; li < 6; ++li) addThis();
function addThis() {
  UBound++;
  for (var i=0; i<UBound; i++)  {
    reportCompare(actualvalues[i]);
  }
}
for (var li = 0; li < 3; ++li) addThis();