aboutsummaryrefslogtreecommitdiff
path: root/src/lj_ffrecord.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_ffrecord.c')
-rw-r--r--src/lj_ffrecord.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_ffrecord.c b/src/lj_ffrecord.c
index 03d0e6ec..923824d9 100644
--- a/src/lj_ffrecord.c
+++ b/src/lj_ffrecord.c
@@ -152,6 +152,8 @@ static void recff_stitch(jit_State *J)
152 if (errcode) { 152 if (errcode) {
153 if (errcode == LUA_ERRRUN) 153 if (errcode == LUA_ERRRUN)
154 copyTV(L, L->top-1, L->top + (1 + LJ_FR2)); 154 copyTV(L, L->top-1, L->top + (1 + LJ_FR2));
155 else
156 setintV(L->top-1, (int32_t)LJ_TRERR_RECERR);
155 lj_err_throw(L, errcode); /* Propagate errors. */ 157 lj_err_throw(L, errcode); /* Propagate errors. */
156 } 158 }
157} 159}