]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/runtime-throw-through-optimized-code.js
1d9df1ddfbc527f707ac72fb0d53608dd6b6f198
5 var shouldThrow
= false;
13 a
.__defineGetter__("bar", bar
);
18 for (var i
= 0; i
< 100000; ++i
) {
19 var result
= foo(a
, "bar");
21 throw "Error: bad result: " + result
;
32 if (didThrow
!= "hello")
33 throw "Error: didn't throw or threw wrong exception: " + didThrow
;