no need for tags in boxed values :-(

This commit is contained in:
Roberto Ierusalimschy
2001-02-01 15:40:48 -02:00
parent 9a231afa97
commit e506b864cd
7 changed files with 17 additions and 29 deletions

3
ldo.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: ldo.c,v 1.118 2001/01/29 15:35:17 roberto Exp roberto $
** $Id: ldo.c,v 1.119 2001/01/29 19:34:02 roberto Exp roberto $
** Stack and Call structure of Lua
** See Copyright Notice in lua.h
*/
@@ -172,7 +172,6 @@ void luaD_call (lua_State *L, StkId func, int nResults) {
setclvalue(func, tm); /* tag method is the new function to be called */
}
cl = clvalue(func);
ci.v.ttype = LUA_TMARK;
ci.func = cl;
setivalue(func, &ci);
callhook = L->callhook;