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

Function luaK_getlabel

third-party/lua-5.4.6/src/lcode.c:233–236  ·  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

231** optimizations with consecutive instructions not in the same basic block).
232*/
233int luaK_getlabel (FuncState *fs) {
234 fs->lasttarget = fs->pc;
235 return fs->pc;
236}
237
238
239/*

Callers 7

createlabelFunction · 0.70
whilestatFunction · 0.70
repeatstatFunction · 0.70
forbodyFunction · 0.70
luaK_patchtohereFunction · 0.70
code_loadboolFunction · 0.70
exp2regFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected