summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug901086.js
blob: 7853f63c78ed92cb9a1630f38e377db1bb6bdb9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
enableGeckoProfiling();
function foo(obj,x,y,z) {
    if (!y)
	assertEq(0, 1);
    obj.x = x;
    return y + z;
}
function bar() {
    var objz = {x:2}
    for(var i = 0; i < 1100; i++) {
	foo(objz,1,2,3);
	foo(objz, false, "bar", "foo");
    }
}
bar();