(f)
| 14 | } |
| 15 | |
| 16 | function testThrows(f) { |
| 17 | %PrepareFunctionForOptimization(f); |
| 18 | assertThrows(f); |
| 19 | assertThrows(f); |
| 20 | %OptimizeFunctionOnNextCall(f); |
| 21 | assertThrows(f); |
| 22 | assertThrows(f); |
| 23 | } |
| 24 | |
| 25 | // --- Constant case. |
| 26 | a = 11; |
no test coverage detected