MCPcopy Create free account
hub / github.com/Tencent/sluaunreal / luaK_patchtohere

Function luaK_patchtohere

Plugins/slua_unreal/External/lua/lcode.cpp:250–253  ·  view source on GitHub ↗

** Add elements in 'list' to list of pending jumps to "here" ** (current position) */

Source from the content-addressed store, hash-verified

248** (current position)
249*/
250void luaK_patchtohere (FuncState *fs, int list) {
251 luaK_getlabel(fs); /* mark "here" as a jump target */
252 luaK_concat(fs, &fs->jpc, list);
253}
254
255
256/*

Callers 9

luaK_patchlistFunction · 0.85
exp2regFunction · 0.85
luaK_goiftrueFunction · 0.85
luaK_goiffalseFunction · 0.85
leaveblockFunction · 0.85
whilestatFunction · 0.85
forbodyFunction · 0.85
test_then_blockFunction · 0.85
ifstatFunction · 0.85

Calls 2

luaK_getlabelFunction · 0.85
luaK_concatFunction · 0.85

Tested by 1

test_then_blockFunction · 0.68