aboutsummaryrefslogtreecommitdiff
path: root/lvm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-15 14:17:20 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-15 14:17:20 -0200
commit45e533599f08d849951b49bcab0be4fd735a966d (patch)
treeb8e3b175989f694391dd3da4191894f5df1e7d75 /lvm.h
parent94144a7821c0fa412d5d228ab5197a8ebaaa3c25 (diff)
downloadlua-45e533599f08d849951b49bcab0be4fd735a966d.tar.gz
lua-45e533599f08d849951b49bcab0be4fd735a966d.tar.bz2
lua-45e533599f08d849951b49bcab0be4fd735a966d.zip
optimization: closures without upvalues don't need to be closures
Diffstat (limited to 'lvm.h')
-rw-r--r--lvm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lvm.h b/lvm.h
index bbe1e6a4..a371326f 100644
--- a/lvm.h
+++ b/lvm.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.h,v 1.2 1997/09/26 15:02:26 roberto Exp roberto $ 2** $Id: lvm.h,v 1.3 1997/10/16 10:59:34 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -23,7 +23,7 @@ void luaV_gettable (void);
23void luaV_settable (TObject *t, int mode); 23void luaV_settable (TObject *t, int mode);
24void luaV_getglobal (TaggedString *ts); 24void luaV_getglobal (TaggedString *ts);
25void luaV_setglobal (TaggedString *ts); 25void luaV_setglobal (TaggedString *ts);
26StkId luaV_execute (Closure *func, StkId base); 26StkId luaV_execute (Closure *cl, TProtoFunc *tf, StkId base);
27void luaV_closure (int nelems); 27void luaV_closure (int nelems);
28 28
29#endif 29#endif