@@ -1567,7 +1567,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
15671567 WASMMemoryInstance * memory = wasm_get_default_memory (module );
15681568#if !defined(OS_ENABLE_HW_BOUND_CHECK ) \
15691569 || WASM_CPU_SUPPORTS_UNALIGNED_ADDR_ACCESS == 0 \
1570- || WASM_ENABLE_BULK_MEMORY != 0
1570+ || WASM_ENABLE_BULK_MEMORY != 0 || WASM_ENABLE_LIME1 != 0
15711571 uint64 linear_mem_size = 0 ;
15721572 if (memory )
15731573#if WASM_ENABLE_THREAD_MGR == 0
@@ -2367,7 +2367,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
23672367 cur_type = wasm_types [tidx ];
23682368
23692369 /* clang-format off */
2370- #if WASM_ENABLE_REF_TYPES != 0 || WASM_ENABLE_GC != 0
2370+ #if WASM_ENABLE_REF_TYPES != 0 || WASM_ENABLE_GC != 0 || WASM_ENABLE_LIME1 != 0
23712371 read_leb_uint32 (frame_ip , frame_ip_end , tbl_idx );
23722372#else
23732373 frame_ip ++ ;
@@ -5768,6 +5768,8 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
57685768 segment );
57695769 break ;
57705770 }
5771+ #endif /* WASM_ENABLE_BULK_MEMORY */
5772+ #if WASM_ENABLE_BULK_MEMORY != 0 || WASM_ENABLE_LIME1 != 0
57715773 case WASM_OP_MEMORY_COPY :
57725774 {
57735775 mem_offset_t dst , src , len ;
@@ -5888,7 +5890,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
58885890 memset (mdst , fill_val , len );
58895891 break ;
58905892 }
5891- #endif /* WASM_ENABLE_BULK_MEMORY */
5893+ #endif /* WASM_ENABLE_BULK_MEMORY || WASM_ENABLE_LIME1 */
58925894#if WASM_ENABLE_REF_TYPES != 0 || WASM_ENABLE_GC != 0
58935895 case WASM_OP_TABLE_INIT :
58945896 {
@@ -6873,7 +6875,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
68736875
68746876#if !defined(OS_ENABLE_HW_BOUND_CHECK ) \
68756877 || WASM_CPU_SUPPORTS_UNALIGNED_ADDR_ACCESS == 0 \
6876- || WASM_ENABLE_BULK_MEMORY != 0
6878+ || WASM_ENABLE_BULK_MEMORY != 0 || WASM_ENABLE_LIME1 != 0
68776879 out_of_bounds :
68786880 wasm_set_exception (module , "out of bounds memory access" );
68796881#endif
0 commit comments