]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/dfg-create-arguments-inline-alloc.js
1 var foo = function(o
) {
2 var a
= Array
.prototype.slice
.call(arguments
);
4 for (var i
= 0; i
< a
.length
; ++i
)
14 for (var i
= 0; i
< niters
; ++i
) {
15 total
+= foo(o
, o
, o
);
18 if (total
!= 42 * 3 * niters
)
19 throw new Error("Incorrect result!");