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

Method Instruction

code.go:294–294  ·  view source on GitHub ↗
(e exprDesc)

Source from the content-addressed store, hash-verified

292func (f *function) unreachable() { f.assert(false) }
293func (f *function) assert(cond bool) { f.p.l.assert(cond) }
294func (f *function) Instruction(e exprDesc) *instruction { return &f.f.code[e.info] }
295func (e exprDesc) hasJumps() bool { return e.t != e.f }
296func (e exprDesc) isNumeral() bool { return e.kind == kindNumber && e.t == noJump && e.f == noJump }
297func (e exprDesc) isVariable() bool { return kindLocal <= e.kind && e.kind <= kindIndexed }

Callers 7

ReturnMethod · 0.95
setReturnsMethod · 0.95
SetReturnMethod · 0.95
dischargeToRegisterMethod · 0.95
jumpOnConditionMethod · 0.95
PostfixMethod · 0.95
expressionStatementMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected