(n int)
| 447 | } |
| 448 | |
| 449 | func (l *State) checkStack(n int) { |
| 450 | if l.stackLast-l.top <= n { |
| 451 | l.growStack(n) |
| 452 | } |
| 453 | } |
| 454 | |
| 455 | func (l *State) reallocStack(newSize int) { |
| 456 | l.assert(newSize <= maxStack || newSize == errorStackSize) |
no test coverage detected