Fix configurable bounds checks typo (#2809)

This commit is contained in:
Huang Qi
2023-11-21 17:32:45 +08:00
committed by GitHub
parent 9ad42290d8
commit 0b29904f26
8 changed files with 13 additions and 13 deletions

View File

@ -95,7 +95,7 @@ wasm_memory_init_with_allocator(void *_malloc_func, void *_realloc_func,
static inline bool
is_bounds_checks_enabled(WASMModuleInstanceCommon *module_inst)
{
#if WASM_CONFIGUABLE_BOUNDS_CHECKS != 0
#if WASM_CONFIGURABLE_BOUNDS_CHECKS != 0
return wasm_runtime_is_bounds_checks_enabled(module_inst);
#else
return true;