| 776 | |
| 777 | |
| 778 | static 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 | |
| 791 | int luaK_codeABC (FuncState *fs, OpCode o, int a, int b, int c) { |
no test coverage detected