]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/test-spec-misc.js
7d7150542dff108397bf1f927448f98d7aea4ea4
1 var a
= [ "String", false, 42 ];
4 function getX(fromDFG
) {
14 var x
= getX(DFGTrue());
18 var y
= a
[index
% a
.length
];
26 var loopCount
= 10000;
31 for (var i
= 0; i
< loopCount
- 1; i
++)
41 throw "Error: bad result expected false: " + result
;
42 if (count
!= loopCount
)
43 throw "Error: bad count, expected: " + loopCount
+ ", got: " + count
;