summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug691747.js
blob: 94c37ff59de049c9b0b1a36a6e413fd1a0514793 (plain)
1
2
3
4
5
6
7
8
9
10
11
function reportCompare(actual) - ++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();