diff options
Diffstat (limited to 'lcode.c')
-rw-r--r-- | lcode.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.c,v 2.110 2016/06/20 19:12:46 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 2.111 2016/07/19 17:12:07 roberto Exp roberto $ |
3 | ** Code generator for Lua | 3 | ** Code generator for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -86,7 +86,7 @@ void luaK_nil (FuncState *fs, int from, int n) { | |||
86 | /* | 86 | /* |
87 | ** Gets the destination address of a jump instruction. Used to traverse | 87 | ** Gets the destination address of a jump instruction. Used to traverse |
88 | ** a list of jumps. | 88 | ** a list of jumps. |
89 | */ | 89 | */ |
90 | static int getjump (FuncState *fs, int pc) { | 90 | static int getjump (FuncState *fs, int pc) { |
91 | int offset = GETARG_sBx(fs->f->code[pc]); | 91 | int offset = GETARG_sBx(fs->f->code[pc]); |
92 | if (offset == NO_JUMP) /* point to itself represents end of list */ | 92 | if (offset == NO_JUMP) /* point to itself represents end of list */ |
@@ -754,7 +754,7 @@ void luaK_exp2val (FuncState *fs, expdesc *e) { | |||
754 | ** (that is, it is either in a register or in 'k' with an index | 754 | ** (that is, it is either in a register or in 'k' with an index |
755 | ** in the range of R/K indices). | 755 | ** in the range of R/K indices). |
756 | ** Returns R/K index. | 756 | ** Returns R/K index. |
757 | */ | 757 | */ |
758 | int luaK_exp2RK (FuncState *fs, expdesc *e) { | 758 | int luaK_exp2RK (FuncState *fs, expdesc *e) { |
759 | luaK_exp2val(fs, e); | 759 | luaK_exp2val(fs, e); |
760 | switch (e->k) { /* move constants to 'k' */ | 760 | switch (e->k) { /* move constants to 'k' */ |