diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2016-12-22 11:08:50 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2016-12-22 11:08:50 -0200 |
commit | 2a235312f029cbd2b1eb79f158d4f74b3ffa1b85 (patch) | |
tree | ee359ba97c390d1d6709243ab7c92c1e8252617a /lcode.c | |
parent | 9903dd52a39fbe4531596b1266e226f01769de21 (diff) | |
download | lua-2a235312f029cbd2b1eb79f158d4f74b3ffa1b85.tar.gz lua-2a235312f029cbd2b1eb79f158d4f74b3ffa1b85.tar.bz2 lua-2a235312f029cbd2b1eb79f158d4f74b3ffa1b85.zip |
detail (removing spaces at end of lines)
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' */ |