(f)
| 12 | const T2 = 'unexpected'; |
| 13 | |
| 14 | function warmup(f) { |
| 15 | %PrepareFunctionForOptimization(f); |
| 16 | for (let i = 0; i < 10; i++) { |
| 17 | f(); |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | function test(creator, getter, setter, expectedToken = T) { |
| 22 | // Warm up the creator function so there's feedback and the boilerplate |