Enhance the native stack overflow check (#302)

This commit is contained in:
wenyongh
2020-07-07 09:56:46 +08:00
committed by GitHub
parent 9b8fc6ae95
commit 2fc7230009
2 changed files with 40 additions and 9 deletions

View File

@ -2797,6 +2797,10 @@ fail:
return ret;
}
#endif /* end of defined(BUILD_TARGET_X86_64) \
|| defined(BUILD_TARGET_AMD_64) \
|| defined(BUILD_TARGET_AARCH64) */
bool
wasm_runtime_call_indirect(WASMExecEnv *exec_env,
uint32_t element_indices,
@ -2825,6 +2829,3 @@ wasm_runtime_call_indirect(WASMExecEnv *exec_env,
return false;
}
#endif /* end of defined(BUILD_TARGET_X86_64) \
|| defined(BUILD_TARGET_AMD_64) \
|| defined(BUILD_TARGET_AARCH64) */