MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / luaK_code

Function luaK_code

CryScriptSystem/LUA/lcode.c:778–788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

776
777
778static int luaK_code (FuncState *fs, Instruction i) {
779 Proto *f;
780 codelineinfo(fs);
781 f = fs->f;
782 /* put new instruction in code array */
783 luaM_growvector(fs->L, f->code, fs->pc, f->sizecode, Instruction,
784 MAX_INT, l_s("code size overflow"));
785 f->code[fs->pc] = i;
786/*printf("free: %d ", fs->freereg); printopcode(f, fs->pc);*/
787 return fs->pc++;
788}
789
790
791int luaK_codeABC (FuncState *fs, OpCode o, int a, int b, int c) {

Callers 2

luaK_codeABCFunction · 0.85
luaK_codeABcFunction · 0.85

Calls 1

codelineinfoFunction · 0.85

Tested by

no test coverage detected