diff options
Diffstat (limited to 'lcode.h')
| -rw-r--r-- | lcode.h | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lcode.h,v 1.62 2013/12/18 14:12:03 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.63 2013/12/30 20:47:58 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 | */ |
| @@ -40,7 +40,8 @@ typedef enum BinOpr { | |||
| 40 | typedef enum UnOpr { OPR_MINUS, OPR_BNOT, OPR_NOT, OPR_LEN, OPR_NOUNOPR } UnOpr; | 40 | typedef enum UnOpr { OPR_MINUS, OPR_BNOT, OPR_NOT, OPR_LEN, OPR_NOUNOPR } UnOpr; |
| 41 | 41 | ||
| 42 | 42 | ||
| 43 | #define getcode(fs,e) ((fs)->f->code[(e)->u.info]) | 43 | /* get (pointer to) instruction of given 'expdesc' */ |
| 44 | #define getinstruction(fs,e) ((fs)->f->code[(e)->u.info]) | ||
| 44 | 45 | ||
| 45 | #define luaK_codeAsBx(fs,o,A,sBx) luaK_codeABx(fs,o,A,(sBx)+MAXARG_sBx) | 46 | #define luaK_codeAsBx(fs,o,A,sBx) luaK_codeABx(fs,o,A,(sBx)+MAXARG_sBx) |
| 46 | 47 | ||
