MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaK_getlabel

Function luaK_getlabel

freebsd/contrib/openzfs/module/lua/lcode.c:92–95  ·  view source on GitHub ↗

** returns current `pc' and marks it as a jump target (to avoid wrong ** optimizations with consecutive instructions not in the same basic block). */

Source from the content-addressed store, hash-verified

90** optimizations with consecutive instructions not in the same basic block).
91*/
92int luaK_getlabel (FuncState *fs) {
93 fs->lasttarget = fs->pc;
94 return fs->pc;
95}
96
97
98static int getjump (FuncState *fs, int pc) {

Callers 5

whilestatFunction · 0.70
repeatstatFunction · 0.70
luaK_patchtohereFunction · 0.70
code_labelFunction · 0.70
exp2regFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected