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

Method hasJumps

code.go:295–295  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 }
298func (e exprDesc) hasMultipleReturns() bool { return e.kind == kindCall || e.kind == kindVarArg }

Callers 5

expressionToRegisterMethod · 0.80
ExpressionToValueMethod · 0.80
IndexedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected