MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / discharge2anyreg

Function discharge2anyreg

src/Chain/libraries/glua/lcode.cpp:488–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486
487
488static void discharge2anyreg(FuncState *fs, expdesc *e) {
489 if (e->k != VNONRELOC) {
490 luaK_reserveregs(fs, 1);
491 discharge2reg(fs, e, fs->freereg - 1);
492 }
493}
494
495
496static void exp2reg(FuncState *fs, expdesc *e, int reg) {

Callers 2

jumponcondFunction · 0.85
codenotFunction · 0.85

Calls 2

luaK_reserveregsFunction · 0.85
discharge2regFunction · 0.85

Tested by

no test coverage detected