(f)
| 48 | %PrepareFunctionForOptimization(getNull); |
| 49 | |
| 50 | function test(f) { |
| 51 | %PrepareFunctionForOptimization(f); |
| 52 | f(); |
| 53 | %OptimizeMaglevOnNextCall(f); |
| 54 | f(); |
| 55 | assertTrue(isMaglevved(f)); |
| 56 | } |
| 57 | |
| 58 | function testDoubles() { |
| 59 | assertEquals(6.2, Math.max(getDouble(), 6.2)); |
no test coverage detected
searching dependent graphs…