Skip to content

Commit

Permalink
fix TOYWASM_USE_TAILCALL=OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed May 7, 2024
1 parent 242b265 commit f43b18e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/insn.c
Original file line number Diff line number Diff line change
Expand Up @@ -707,11 +707,11 @@ schedule_exception(struct exec_context *ectx)
(defined(__HAVE_MUSTTAIL) || defined(TOYWASM_FORCE_USE_TAILCALL))
#define INSN_SUCCESS __musttail return fetch_validate_next_insn(p, ep, ctx)
#else
#define INSN_SUCCESS return 0
#define INSN_SUCCESS INSN_SUCCESS_BLOCK_END
#endif
#define INSN_SUCCESS_RETURN INSN_SUCCESS
#define INSN_SUCCESS_BLOCK_END \
vctx->p = p; \
VCTX->p = p; \
return 0
#define PREPARE_FOR_POSSIBLE_RESTART
#define INSN_FAIL_RESTARTABLE(NAME) INSN_FAIL
Expand Down

0 comments on commit f43b18e

Please sign in to comment.