From 02ed0b2c300e9db643454743a26537756dc90b67 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 22 May 2018 09:02:36 -0300 Subject: in 'luaD_poscall', there is no need to compute 'firstResult' when 'nres==0' --- ldo.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ldo.h') diff --git a/ldo.h b/ldo.h index 1fdc75be..a3ac6f50 100644 --- a/ldo.h +++ b/ldo.h @@ -1,5 +1,5 @@ /* -** $Id: ldo.h,v 2.42 2018/02/15 15:34:29 roberto Exp roberto $ +** $Id: ldo.h,v 2.43 2018/02/17 19:29:29 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -61,8 +61,7 @@ LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); LUAI_FUNC void luaD_tryfuncTM (lua_State *L, StkId func); LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, ptrdiff_t oldtop, ptrdiff_t ef); -LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, - int nres); +LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, int nres); LUAI_FUNC int luaD_reallocstack (lua_State *L, int newsize, int raiseerror); LUAI_FUNC int luaD_growstack (lua_State *L, int n, int raiseerror); LUAI_FUNC void luaD_shrinkstack (lua_State *L); -- cgit v1.2.3-55-g6feb