Compile getfenv(0).

This commit is contained in:
Mike Pall
2013-10-09 20:34:40 +02:00
parent 88c7785b87
commit e6e760ca9f
5 changed files with 31 additions and 2 deletions

View File

@@ -136,7 +136,7 @@ LJLIB_ASM(setmetatable) LJLIB_REC(.)
return FFH_RES(1);
}
LJLIB_CF(getfenv)
LJLIB_CF(getfenv) LJLIB_REC(.)
{
GCfunc *fn;
cTValue *o = L->base;