| 1 | function performString(value) { |
| 2 | return String(value); |
| 3 | } |
| 4 | noInline(performString); |
| 5 | |
| 6 | for (var i = 0; i < 10000; ++i) { |
| 7 | var result = performString(Symbol.iterator); |
| 8 | if (result !== 'Symbol(Symbol.iterator)') |
| 9 | throw new Error('bad value: ' + result); |
| 10 | } |