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

Function isConstant

instructions.go:126–126  ·  view source on GitHub ↗
(x int)

Source from the content-addressed store, hash-verified

124type instruction uint32
125
126func isConstant(x int) bool { return 0 != x&bitRK }
127func constantIndex(r int) int { return r & ^bitRK }
128func asConstant(r int) int { return r | bitRK }
129

Callers 3

StringMethod · 0.85
freeRegisterMethod · 0.85
constantNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected