diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-08 17:42:07 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-08 17:42:07 -0300 |
commit | 0802a9df9e9326c5e61f0d6b69685c2c253de5f2 (patch) | |
tree | c0f34b8fbf79694ea3d5f9d98f14680ba74a2b14 /lcode.c | |
parent | f90bc248b3c3c18941a96038b2a7517ad571d8b1 (diff) | |
download | lua-0802a9df9e9326c5e61f0d6b69685c2c253de5f2.tar.gz lua-0802a9df9e9326c5e61f0d6b69685c2c253de5f2.tar.bz2 lua-0802a9df9e9326c5e61f0d6b69685c2c253de5f2.zip |
no more options for debug information: it is always on
Diffstat (limited to 'lcode.c')
-rw-r--r-- | lcode.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.c,v 1.42 2000/08/04 19:38:35 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 1.43 2000/08/08 18:26:05 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 | */ |
@@ -631,8 +631,7 @@ int luaK_code2 (FuncState *fs, OpCode o, int arg1, int arg2) { | |||
631 | case iS: i = CREATE_S(o, arg1); break; | 631 | case iS: i = CREATE_S(o, arg1); break; |
632 | case iAB: i = CREATE_AB(o, arg1, arg2); break; | 632 | case iAB: i = CREATE_AB(o, arg1, arg2); break; |
633 | } | 633 | } |
634 | if (fs->debug) | 634 | codelineinfo(fs); |
635 | codelineinfo(fs); | ||
636 | /* put new instruction in code array */ | 635 | /* put new instruction in code array */ |
637 | luaM_growvector(fs->L, fs->f->code, fs->pc, 1, Instruction, | 636 | luaM_growvector(fs->L, fs->f->code, fs->pc, 1, Instruction, |
638 | "code size overflow", MAX_INT); | 637 | "code size overflow", MAX_INT); |