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

Method freeRegister

code.go:560–565  ·  view source on GitHub ↗
(r int)

Source from the content-addressed store, hash-verified

558}
559
560func (f *function) freeRegister(r int) {
561 if !isConstant(r) && r >= f.activeVariableCount {
562 f.freeRegisterCount--
563 f.assertEqual(r, f.freeRegisterCount)
564 }
565}
566
567func (f *function) freeExpression(e exprDesc) {
568 if e.kind == kindNonRelocatable {

Callers 2

freeExpressionMethod · 0.95
DischargeVariablesMethod · 0.95

Calls 2

assertEqualMethod · 0.95
isConstantFunction · 0.85

Tested by

no test coverage detected