aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lvm.c b/lvm.c
index 8361d3dd..754d608b 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 2.121 2010/06/04 13:25:10 roberto Exp roberto $ 2** $Id: lvm.c,v 2.122 2010/06/07 16:55: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*/
@@ -88,7 +88,7 @@ static void callTM (lua_State *L, const TValue *f, const TValue *p1,
88 setobj2s(L, L->top++, p1); /* 1st argument */ 88 setobj2s(L, L->top++, p1); /* 1st argument */
89 setobj2s(L, L->top++, p2); /* 2nd argument */ 89 setobj2s(L, L->top++, p2); /* 2nd argument */
90 if (!hasres) /* no result? 'p3' is third argument */ 90 if (!hasres) /* no result? 'p3' is third argument */
91 setobj2s(L, L->top++, p3); /* 3th argument */ 91 setobj2s(L, L->top++, p3); /* 3rd argument */
92 luaD_checkstack(L, 0); 92 luaD_checkstack(L, 0);
93 /* metamethod may yield only when called from Lua code */ 93 /* metamethod may yield only when called from Lua code */
94 luaD_call(L, L->top - (4 - hasres), hasres, isLua(L->ci)); 94 luaD_call(L, L->top - (4 - hasres), hasres, isLua(L->ci));
@@ -370,7 +370,7 @@ static Closure *getcached (Proto *p, UpVal **encup, StkId base) {
370** create a new Lua closure, push it in the stack, and initialize 370** create a new Lua closure, push it in the stack, and initialize
371** its upvalues. Note that the call to 'luaC_barrierproto' must come 371** its upvalues. Note that the call to 'luaC_barrierproto' must come
372** before the assignment to 'p->cache', as the function needs the 372** before the assignment to 'p->cache', as the function needs the
373** orginal value of that field. 373** original value of that field.
374*/ 374*/
375static void pushclosure (lua_State *L, Proto *p, UpVal **encup, StkId base, 375static void pushclosure (lua_State *L, Proto *p, UpVal **encup, StkId base,
376 StkId ra) { 376 StkId ra) {