MCPcopy Index your code
hub / github.com/yuin/gopher-lua / opCreateASbx

Function opCreateASbx

opcode.go:238–244  ·  view source on GitHub ↗
(op int, a int, sbx int)

Source from the content-addressed store, hash-verified

236}
237
238func opCreateASbx(op int, a int, sbx int) uint32 {
239 var inst uint32 = 0
240 opSetOpCode(&inst, op)
241 opSetArgA(&inst, a)
242 opSetArgSbx(&inst, sbx)
243 return inst
244}
245
246const opBitRk = 1 << (opSizeB - 1)
247const opMaxIndexRk = opBitRk - 1

Callers 1

AddASbxMethod · 0.85

Calls 3

opSetOpCodeFunction · 0.85
opSetArgAFunction · 0.85
opSetArgSbxFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…