Compile debug.getmetatable().

Thanks to Karel Tuma.
This commit is contained in:
Mike Pall
2014-06-18 12:36:50 +02:00
parent ccd456af73
commit 1cb5929c5c
2 changed files with 23 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ LJLIB_CF(debug_getregistry)
return 1;
}
LJLIB_CF(debug_getmetatable)
LJLIB_CF(debug_getmetatable) LJLIB_REC(.)
{
lj_lib_checkany(L, 1);
if (!lua_getmetatable(L, 1)) {