diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2007-03-27 11:11:38 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2007-03-27 11:11:38 -0300 |
commit | 5f4f0d4a6371e950a9606ab16780a8933017e54b (patch) | |
tree | 669ea1f3c97950391f8a7d52d5015ea43e3b98c8 /lparser.c | |
parent | 8e36e1fe4928c60a09573a850e6807d922a56664 (diff) | |
download | lua-5f4f0d4a6371e950a9606ab16780a8933017e54b.tar.gz lua-5f4f0d4a6371e950a9606ab16780a8933017e54b.tar.bz2 lua-5f4f0d4a6371e950a9606ab16780a8933017e54b.zip |
no more optimization to avoid LOADNIL at function start
Diffstat (limited to 'lparser.c')
-rw-r--r-- | lparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.c,v 2.50 2006/11/22 11:02:03 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 2.51 2007/02/07 17:49:18 roberto Exp roberto $ |
3 | ** Lua Parser | 3 | ** Lua Parser |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -336,7 +336,7 @@ static void open_func (LexState *ls, FuncState *fs) { | |||
336 | fs->L = L; | 336 | fs->L = L; |
337 | ls->fs = fs; | 337 | ls->fs = fs; |
338 | fs->pc = 0; | 338 | fs->pc = 0; |
339 | fs->lasttarget = -1; | 339 | fs->lasttarget = 0; |
340 | fs->jpc = NO_JUMP; | 340 | fs->jpc = NO_JUMP; |
341 | fs->freereg = 0; | 341 | fs->freereg = 0; |
342 | fs->nk = 0; | 342 | fs->nk = 0; |