(n int)
| 545 | } |
| 546 | |
| 547 | func (f *function) CheckStack(n int) { |
| 548 | if n += f.freeRegisterCount; n >= maxStack { |
| 549 | f.p.syntaxError("function or expression too complex") |
| 550 | } else if n > f.f.maxStackSize { |
| 551 | f.f.maxStackSize = n |
| 552 | } |
| 553 | } |
| 554 | |
| 555 | func (f *function) ReserveRegisters(n int) { |
| 556 | f.CheckStack(n) |
no test coverage detected