'ttypenv' -> 'ttnov'

This commit is contained in:
Roberto Ierusalimschy
2013-04-12 16:07:09 -03:00
parent 49c1607157
commit 8f8665fffa
6 changed files with 21 additions and 21 deletions

4
lvm.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: lvm.c,v 2.154 2012/08/16 17:34:28 roberto Exp roberto $
** $Id: lvm.c,v 2.155 2013/03/16 21:10:18 roberto Exp roberto $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -334,7 +334,7 @@ void luaV_concat (lua_State *L, int total) {
void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) {
const TValue *tm;
switch (ttypenv(rb)) {
switch (ttnov(rb)) {
case LUA_TTABLE: {
Table *h = hvalue(rb);
tm = fasttm(L, h->metatable, TM_LEN);