diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-06-22 17:37:23 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-06-22 17:37:23 -0300 |
commit | 521b38532a29ab0590be722712b7c367607e5ba9 (patch) | |
tree | d675eb5dc86c6ccd9db3409be2a6c4bc441f97bf /lvm.c | |
parent | 36b6fe8d175bb2aec8fc55ffb090eab90cb12fd8 (diff) | |
download | lua-521b38532a29ab0590be722712b7c367607e5ba9.tar.gz lua-521b38532a29ab0590be722712b7c367607e5ba9.tar.bz2 lua-521b38532a29ab0590be722712b7c367607e5ba9.zip |
better interfaces for luaD_calln (x luaD_call)
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 1.56 1999/05/21 17:23:15 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.57 1999/05/21 19:41:49 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 | */ |
@@ -342,11 +342,11 @@ StkId luaV_execute (Closure *cl, TProtoFunc *tf, StkId base) { | |||
342 | goto ret; | 342 | goto ret; |
343 | 343 | ||
344 | case CALL: aux = *pc++; | 344 | case CALL: aux = *pc++; |
345 | luaD_call((S->top-S->stack)-(*pc++), aux); | 345 | luaD_calln(*pc++, aux); |
346 | break; | 346 | break; |
347 | 347 | ||
348 | case TAILCALL: aux = *pc++; | 348 | case TAILCALL: aux = *pc++; |
349 | luaD_call((S->top-S->stack)-(*pc++), MULT_RET); | 349 | luaD_calln(*pc++, MULT_RET); |
350 | base += aux; | 350 | base += aux; |
351 | goto ret; | 351 | goto ret; |
352 | 352 | ||