summaryrefslogtreecommitdiff
path: root/src/lib_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib_base.c')
-rw-r--r--src/lib_base.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib_base.c b/src/lib_base.c
index 821c81b4..3762879a 100644
--- a/src/lib_base.c
+++ b/src/lib_base.c
@@ -507,10 +507,11 @@ LJLIB_NOREG LJLIB_ASM(coroutine_wrap_aux)
507 507
508/* Inline declarations. */ 508/* Inline declarations. */
509LJ_ASMF void lj_ff_coroutine_wrap_aux(void); 509LJ_ASMF void lj_ff_coroutine_wrap_aux(void);
510LJ_FUNCA_NORET void lj_ffh_coroutine_wrap_err(lua_State *L, lua_State *co); 510LJ_FUNCA_NORET void LJ_FASTCALL lj_ffh_coroutine_wrap_err(lua_State *L,
511 lua_State *co);
511 512
512/* Error handler, called from assembler VM. */ 513/* Error handler, called from assembler VM. */
513void lj_ffh_coroutine_wrap_err(lua_State *L, lua_State *co) 514void LJ_FASTCALL lj_ffh_coroutine_wrap_err(lua_State *L, lua_State *co)
514{ 515{
515 co->top--; copyTV(L, L->top, co->top); L->top++; 516 co->top--; copyTV(L, L->top, co->top); L->top++;
516 if (tvisstr(L->top-1)) 517 if (tvisstr(L->top-1))