MCPcopy Index your code
hub / github.com/Shopify/go-lua / ReserveRegisters

Method ReserveRegisters

code.go:555–558  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

553}
554
555func (f *function) ReserveRegisters(n int) {
556 f.CheckStack(n)
557 f.freeRegisterCount += n
558}
559
560func (f *function) freeRegister(r int) {
561 if !isConstant(r) && r >= f.activeVariableCount {

Callers 9

setReturnsMethod · 0.95
SelfMethod · 0.95
CheckConflictMethod · 0.95
AdjustAssignmentMethod · 0.95
OpenForBodyMethod · 0.95
forNumericMethod · 0.80
parameterListMethod · 0.80

Calls 1

CheckStackMethod · 0.95

Tested by

no test coverage detected