summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1352510.js
blob: 5c5e0e20afc7b04f0ae945ec3fcbc6f1fff88db2 (plain)
1
2
3
4
5
6
7
8
function maybeSetLength(arr, b) {
    if (b) arr.length = 0x7fffffff;
}
var arr = [];
for (var i = 0; i < 2000; i++) {
    maybeSetLength(arr, i > 1500);
    var res = arr.push((0.017453));
}