aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lvm.c b/lvm.c
index e4690985..23f59032 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.102 2000/04/13 16:51:01 roberto Exp roberto $ 2** $Id: lvm.c,v 1.103 2000/04/14 17:45:25 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*/
@@ -334,10 +334,10 @@ static void adjust_varargs (lua_State *L, StkId base, int nfixargs) {
334** Executes the given Lua function. Parameters are between [base,top). 334** Executes the given Lua function. Parameters are between [base,top).
335** Returns n such that the the results are between [n,top). 335** Returns n such that the the results are between [n,top).
336*/ 336*/
337StkId luaV_execute (lua_State *L, const Closure *cl, register StkId base) { 337StkId luaV_execute (lua_State *L, const Closure *cl, StkId base) {
338 const Proto *tf = cl->f.l; 338 const Proto *tf = cl->f.l;
339 register StkId top; /* keep top local, for performance */ 339 StkId top; /* keep top local, for performance */
340 register const Instruction *pc = tf->code; 340 const Instruction *pc = tf->code;
341 TString **kstr = tf->kstr; 341 TString **kstr = tf->kstr;
342 luaD_checkstack(L, tf->maxstacksize+EXTRA_STACK); 342 luaD_checkstack(L, tf->maxstacksize+EXTRA_STACK);
343 if (tf->is_vararg) { /* varargs? */ 343 if (tf->is_vararg) { /* varargs? */
@@ -348,7 +348,7 @@ StkId luaV_execute (lua_State *L, const Closure *cl, register StkId base) {
348 luaD_adjusttop(L, base, tf->numparams); 348 luaD_adjusttop(L, base, tf->numparams);
349 top = L->top; 349 top = L->top;
350 for (;;) { 350 for (;;) {
351 register Instruction i = *pc++; 351 Instruction i = *pc++;
352 switch (GET_OPCODE(i)) { 352 switch (GET_OPCODE(i)) {
353 353
354 case OP_END: 354 case OP_END: