michael@0: enableSPSProfilingAssertions(false); michael@0: function foo(obj,x,y,z) { michael@0: if (!y) michael@0: assertEq(0, 1); michael@0: obj.x = x; michael@0: return y + z; michael@0: } michael@0: function bar() { michael@0: var objz = {x:2} michael@0: for(var i = 0; i < 1100; i++) { michael@0: foo(objz,1,2,3); michael@0: foo(objz, false, "bar", "foo"); michael@0: } michael@0: } michael@0: bar();