Handle on-trace OOM errors from helper functions.
This commit is contained in:
@@ -2245,8 +2245,9 @@ static void build_subroutines(BuildCtx *ctx)
|
||||
| b <2
|
||||
|
|
||||
|9: // Rethrow error from the right C frame.
|
||||
| rsb CARG2, CARG1, #0
|
||||
| mov CARG1, L
|
||||
| bl extern lj_err_run // (lua_State *L)
|
||||
| bl extern lj_err_trace // (lua_State *L, int errcode)
|
||||
|.endif
|
||||
|
|
||||
|//-----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user