]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/dead-access-to-captured-variable-preceded-by-a-live-store-in-function-with-multiple-basic-blocks.js
4 (function() { x
= 43; })();
7 (function() { x
= 44; })();
12 (function() { y
= 46; })();
15 (function() { y
= 47; })();
22 for (var i
= 0; i
< 10000; ++i
) {
23 var result
= foo(i
& 1);
24 if (result
!= ((i
& 1) ? 44 : 47))
25 throw "Error: bad result with i = " + i
+ ": " + result
;