summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug989586.js
blob: c21876dbabe87ec2b01bf2dc5ddcf1bfee54ceac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function t() {
    var iter = 0;
    function a(w) {
	var a = new Array(w);
	assertEq(a.length, w);
    }
    function r() {
	a(3);
	a(4);
    }
    for (var i=0; i<100; i++) {
	r();
    }
}
t();