Skip to content

Commit

Permalink
formatting commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzzabiyaka committed Jan 27, 2025
1 parent 8ea3e7f commit 46bc07b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions core/iwasm/interpreter/wasm_interp_fast.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ typedef float64 CellType_F64;
&& (app_addr) <= shared_heap_end_off - bytes + 1)

#define shared_heap_addr_app_to_native(app_addr, native_addr) \
native_addr = shared_heap_base_addr + ((app_addr) - shared_heap_start_off)
native_addr = shared_heap_base_addr + ((app_addr)-shared_heap_start_off)

#define CHECK_SHARED_HEAP_OVERFLOW(app_addr, bytes, native_addr) \
if (app_addr_in_shared_heap(app_addr, bytes)) \
Expand Down Expand Up @@ -1793,7 +1793,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
else
cur_func_type = cur_func->u.func->func_type;

/* clang-format off */
/* clang-format off */
#if WASM_ENABLE_GC == 0
if (cur_type != cur_func_type) {
wasm_set_exception(module, "indirect call type mismatch");
Expand Down Expand Up @@ -5899,7 +5899,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
addr = GET_OPERAND(uint32, I32, 0); \
frame_ip += 2; \
addr_ret = GET_OFFSET(); \
CHECK_MEMORY_OVERFLOW(4); \
CHECK_MEMORY_OVERFLOW(4); \
\
simde_v128_t simde_result = simde_func(maddr); \
\
Expand Down
2 changes: 1 addition & 1 deletion core/iwasm/interpreter/wasm_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -13217,7 +13217,7 @@ wasm_loader_prepare_bytecode(WASMModule *module, WASMFunction *func,
#endif
*p_org = WASM_OP_GET_GLOBAL_64;
}
#else /* else of WASM_ENABLE_FAST_INTERP */
#else /* else of WASM_ENABLE_FAST_INTERP */
if (global_type == VALUE_TYPE_I64
|| global_type == VALUE_TYPE_F64) {
skip_label();
Expand Down
2 changes: 1 addition & 1 deletion core/iwasm/interpreter/wasm_opcode.h
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ typedef enum WASMAtomicEXTOpcode {
SET_GOTO_TABLE_ELEM(EXT_OP_TEE_LOCAL_FAST_V128), \
SET_GOTO_TABLE_ELEM(EXT_OP_COPY_STACK_TOP_V128), \
SET_GOTO_TABLE_ELEM(WASM_OP_GET_GLOBAL_128), \
SET_GOTO_TABLE_ELEM(WASM_OP_SET_GLOBAL_128), \
SET_GOTO_TABLE_ELEM(WASM_OP_SET_GLOBAL_128),

#else
#define DEF_EXT_V128_HANDLE()
Expand Down

0 comments on commit 46bc07b

Please sign in to comment.