aboutsummaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-11-08 17:44:31 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-11-08 17:44:31 -0200
commite43e95553fdb0ebb30ab3c69c227aebd752942dd (patch)
treec6d9d61a024fd80e678b5c92754ba217217aca0b /lcode.c
parent930018e273e9abaff9475c156e1367011bc437af (diff)
downloadlua-e43e95553fdb0ebb30ab3c69c227aebd752942dd.tar.gz
lua-e43e95553fdb0ebb30ab3c69c227aebd752942dd.tar.bz2
lua-e43e95553fdb0ebb30ab3c69c227aebd752942dd.zip
more privacy
Diffstat (limited to 'lcode.c')
-rw-r--r--lcode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lcode.c b/lcode.c
index c76b899e..16c698a7 100644
--- a/lcode.c
+++ b/lcode.c
@@ -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
562void luaK_goiffalse (FuncState *fs, expdesc *e) { 562static 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
781int luaK_code (FuncState *fs, Instruction i, int line) { 781static 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 */