]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/throw-through-optimized-code.js
5 var shouldThrow
= false;
15 for (var i
= 0; i
< 100000; ++i
) {
16 var result
= foo(bar
);
18 throw "Error: bad result: " + result
;
29 if (didThrow
!= "hello")
30 throw "Error: didn't throw or threw wrong exception: " + didThrow
;