diff options
Diffstat (limited to 'lcode.c')
| -rw-r--r-- | lcode.c | 2 |
1 files changed, 0 insertions, 2 deletions
| @@ -1934,8 +1934,6 @@ void luaK_finish (FuncState *fs) { | |||
| 1934 | p->flag &= cast_byte(~PF_VAHID); /* then it will not use hidden args. */ | 1934 | p->flag &= cast_byte(~PF_VAHID); /* then it will not use hidden args. */ |
| 1935 | for (i = 0; i < fs->pc; i++) { | 1935 | for (i = 0; i < fs->pc; i++) { |
| 1936 | Instruction *pc = &p->code[i]; | 1936 | Instruction *pc = &p->code[i]; |
| 1937 | /* avoid "not used" warnings when assert is off (for 'onelua.c') */ | ||
| 1938 | (void)luaP_isOT; (void)luaP_isIT; | ||
| 1939 | lua_assert(i == 0 || luaP_isOT(*(pc - 1)) == luaP_isIT(*pc)); | 1937 | lua_assert(i == 0 || luaP_isOT(*(pc - 1)) == luaP_isIT(*pc)); |
| 1940 | switch (GET_OPCODE(*pc)) { | 1938 | switch (GET_OPCODE(*pc)) { |
| 1941 | case OP_RETURN0: case OP_RETURN1: { | 1939 | case OP_RETURN0: case OP_RETURN1: { |
