MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaK_getlabel

Function luaK_getlabel

third-party/lua-5.1.5/src/lcode.c:94–97  ·  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

92** optimizations with consecutive instructions not in the same basic block).
93*/
94int luaK_getlabel (FuncState *fs) {
95 fs->lasttarget = fs->pc;
96 return fs->pc;
97}
98
99
100static 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