diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-11-08 17:44:31 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-11-08 17:44:31 -0200 |
commit | e43e95553fdb0ebb30ab3c69c227aebd752942dd (patch) | |
tree | c6d9d61a024fd80e678b5c92754ba217217aca0b /lcode.c | |
parent | 930018e273e9abaff9475c156e1367011bc437af (diff) | |
download | lua-e43e95553fdb0ebb30ab3c69c227aebd752942dd.tar.gz lua-e43e95553fdb0ebb30ab3c69c227aebd752942dd.tar.bz2 lua-e43e95553fdb0ebb30ab3c69c227aebd752942dd.zip |
more privacy
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.19 2005/10/13 12:21:51 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 2.20 2005/10/24 17:37:52 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 | */ |
@@ -559,7 +559,7 @@ void luaK_goiftrue (FuncState *fs, expdesc *e) { | |||
559 | } | 559 | } |
560 | 560 | ||
561 | 561 | ||
562 | void luaK_goiffalse (FuncState *fs, expdesc *e) { | 562 | static void luaK_goiffalse (FuncState *fs, expdesc *e) { |
563 | int pc; /* pc of last jump */ | 563 | int pc; /* pc of last jump */ |
564 | luaK_dischargevars(fs, e); | 564 | luaK_dischargevars(fs, e); |
565 | switch (e->k) { | 565 | switch (e->k) { |
@@ -778,7 +778,7 @@ void luaK_fixline (FuncState *fs, int line) { | |||
778 | } | 778 | } |
779 | 779 | ||
780 | 780 | ||
781 | int luaK_code (FuncState *fs, Instruction i, int line) { | 781 | static int luaK_code (FuncState *fs, Instruction i, int line) { |
782 | Proto *f = fs->f; | 782 | Proto *f = fs->f; |
783 | dischargejpc(fs); /* `pc' will change */ | 783 | dischargejpc(fs); /* `pc' will change */ |
784 | /* put new instruction in code array */ | 784 | /* put new instruction in code array */ |