diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-16 14:51:40 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-16 14:51:40 -0300 |
commit | 2e1b32d87339c22b0518481fa260edf3bfbc01d3 (patch) | |
tree | 5dbca324c1b96790350bc3a86b5c80a97c4a4761 /lcode.h | |
parent | 89a3ec08f37d127fc3c7756cb7cf71586959f8c4 (diff) | |
download | lua-2e1b32d87339c22b0518481fa260edf3bfbc01d3.tar.gz lua-2e1b32d87339c22b0518481fa260edf3bfbc01d3.tar.bz2 lua-2e1b32d87339c22b0518481fa260edf3bfbc01d3.zip |
optimizations for "while 1", "until nil", and the like
Diffstat (limited to '')
-rw-r--r-- | lcode.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.h,v 1.12 2000/04/12 18:47:03 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.13 2000/05/22 18:44:46 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 | */ |
@@ -36,7 +36,6 @@ int luaK_jump (FuncState *fs); | |||
36 | void luaK_patchlist (FuncState *fs, int list, int target); | 36 | void luaK_patchlist (FuncState *fs, int list, int target); |
37 | void luaK_concat (FuncState *fs, int *l1, int l2); | 37 | void luaK_concat (FuncState *fs, int *l1, int l2); |
38 | void luaK_goiftrue (FuncState *fs, expdesc *v, int keepvalue); | 38 | void luaK_goiftrue (FuncState *fs, expdesc *v, int keepvalue); |
39 | void luaK_goiffalse (FuncState *fs, expdesc *v, int keepvalue); | ||
40 | int luaK_getlabel (FuncState *fs); | 39 | int luaK_getlabel (FuncState *fs); |
41 | void luaK_deltastack (FuncState *fs, int delta); | 40 | void luaK_deltastack (FuncState *fs, int delta); |
42 | void luaK_kstr (LexState *ls, int c); | 41 | void luaK_kstr (LexState *ls, int c); |