Skip to content

Commit

Permalink
aot: Disable musttail for mips (bytecodealliance#2457)
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt authored Aug 15, 2023
1 parent f7eac6b commit cd7fb3d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/iwasm/compilation/aot_llvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,13 @@ aot_target_precheck_can_use_musttail(const AOTCompContext *comp_ctx)
*/
return false;
}
if (!strcmp(comp_ctx->target_arch, "mips")) {
/*
* cf.
* https://github.com/bytecodealliance/wasm-micro-runtime/issues/2412
*/
return false;
}
/*
* x86-64/i386: true
*
Expand Down

0 comments on commit cd7fb3d

Please sign in to comment.