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 c8ac5f86..9127b0d5 100644 --- a/src/lib_base.c +++ b/src/lib_base.c | |||
@@ -218,7 +218,7 @@ LJLIB_ASM(tostring) LJLIB_REC(.) | |||
218 | L->top = o+1; /* Only keep one argument. */ | 218 | L->top = o+1; /* Only keep one argument. */ |
219 | if (!tvisnil(mo = lj_meta_lookup(L, o, MM_tostring))) { | 219 | if (!tvisnil(mo = lj_meta_lookup(L, o, MM_tostring))) { |
220 | copyTV(L, L->base-1, mo); /* Replace callable. */ | 220 | copyTV(L, L->base-1, mo); /* Replace callable. */ |
221 | return FFH_RETRY; | 221 | return FFH_TAILCALL; |
222 | } else { | 222 | } else { |
223 | GCstr *s; | 223 | GCstr *s; |
224 | if (tvisnum(o)) { | 224 | if (tvisnum(o)) { |