diff options
-rw-r--r-- | ldo.c | 3 | ||||
-rw-r--r-- | ljumptab.h | 11 |
2 files changed, 7 insertions, 7 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 2.197 2018/02/26 14:16:05 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.198 2018/03/05 14:13:55 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -687,7 +687,6 @@ LUA_API int lua_resume (lua_State *L, lua_State *from, int nargs, | |||
687 | : cast_int(L->top - (L->ci->func + 1)); | 687 | : cast_int(L->top - (L->ci->func + 1)); |
688 | L->nny = oldnny; /* restore 'nny' */ | 688 | L->nny = oldnny; /* restore 'nny' */ |
689 | L->nCcalls--; | 689 | L->nCcalls--; |
690 | // lua_assert(L->nCcalls == ((from) ? from->nCcalls : 0)); | ||
691 | lua_unlock(L); | 690 | lua_unlock(L); |
692 | return status; | 691 | return status; |
693 | } | 692 | } |
@@ -11,11 +11,12 @@ | |||
11 | 11 | ||
12 | static void *disptab[] = { | 12 | static void *disptab[] = { |
13 | 13 | ||
14 | // you can update the following list with this command: | 14 | #if 0 |
15 | // | 15 | ** you can update the following list with this command: |
16 | // sed -n '/^OP_/\!d; s/OP_/\&\&L_OP_/ ; s/,.*/,/ ; s/\/.*// ; p' lopcodes.h | 16 | ** |
17 | // | 17 | ** sed -n '/^OP_/\!d; s/OP_/\&\&L_OP_/ ; s/,.*/,/ ; s/\/.*// ; p' lopcodes.h |
18 | // | 18 | ** |
19 | #endif | ||
19 | 20 | ||
20 | &&L_OP_MOVE, | 21 | &&L_OP_MOVE, |
21 | &&L_OP_LOADI, | 22 | &&L_OP_LOADI, |