]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/ic-throw-through-optimized-code.js
5 Number
.prototype.f
= 42;
9 for (var i
= 0; i
< 100000; ++i
) {
12 throw "Error: bad result: " + result
;
15 throw "Error: bad result: " + result
;
16 result
= foo({g:12, f:13});
18 throw "Error: bad result: " + result
;
28 if (!didThrow
|| didThrow
.toString().indexOf("TypeError:") != 0)
29 throw "Error: didn't throw or threw wrong exception: " + didThrow
;