diff options
Diffstat (limited to 'src/lib_base.c')
-rw-r--r-- | src/lib_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib_base.c b/src/lib_base.c index 6f664eb6..568216e1 100644 --- a/src/lib_base.c +++ b/src/lib_base.c | |||
@@ -320,7 +320,7 @@ LJLIB_ASM(tostring) LJLIB_REC(.) | |||
320 | s = strV(lj_lib_upvalue(L, -(int32_t)itype(o))); | 320 | s = strV(lj_lib_upvalue(L, -(int32_t)itype(o))); |
321 | } else { | 321 | } else { |
322 | if (tvisfunc(o) && isffunc(funcV(o))) | 322 | if (tvisfunc(o) && isffunc(funcV(o))) |
323 | lua_pushfstring(L, "function: fast#%d", funcV(o)->c.ffid); | 323 | lua_pushfstring(L, "function: builtin#%d", funcV(o)->c.ffid); |
324 | else | 324 | else |
325 | lua_pushfstring(L, "%s: %p", lj_typename(o), lua_topointer(L, 1)); | 325 | lua_pushfstring(L, "%s: %p", lj_typename(o), lua_topointer(L, 1)); |
326 | /* Note: lua_pushfstring calls the GC which may invalidate o. */ | 326 | /* Note: lua_pushfstring calls the GC which may invalidate o. */ |