Skip to content

Commit 253d741

Browse files
Zzzabiyakaloganek
authored andcommitted
formatting commit
1 parent bd97970 commit 253d741

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

core/iwasm/interpreter/wasm_interp_fast.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ typedef float64 CellType_F64;
4747
&& (app_addr) <= shared_heap_end_off - bytes + 1)
4848

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

5252
#define CHECK_SHARED_HEAP_OVERFLOW(app_addr, bytes, native_addr) \
5353
if (app_addr_in_shared_heap(app_addr, bytes)) \
@@ -1793,7 +1793,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
17931793
else
17941794
cur_func_type = cur_func->u.func->func_type;
17951795

1796-
/* clang-format off */
1796+
/* clang-format off */
17971797
#if WASM_ENABLE_GC == 0
17981798
if (cur_type != cur_func_type) {
17991799
wasm_set_exception(module, "indirect call type mismatch");
@@ -5897,7 +5897,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
58975897
addr = GET_OPERAND(uint32, I32, 0); \
58985898
frame_ip += 2; \
58995899
addr_ret = GET_OFFSET(); \
5900-
CHECK_MEMORY_OVERFLOW(4); \
5900+
CHECK_MEMORY_OVERFLOW(4); \
59015901
\
59025902
simde_v128_t simde_result = simde_func(maddr); \
59035903
\

core/iwasm/interpreter/wasm_loader.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13217,7 +13217,7 @@ wasm_loader_prepare_bytecode(WASMModule *module, WASMFunction *func,
1321713217
#endif
1321813218
*p_org = WASM_OP_GET_GLOBAL_64;
1321913219
}
13220-
#else /* else of WASM_ENABLE_FAST_INTERP */
13220+
#else /* else of WASM_ENABLE_FAST_INTERP */
1322113221
if (global_type == VALUE_TYPE_I64
1322213222
|| global_type == VALUE_TYPE_F64) {
1322313223
skip_label();

core/iwasm/interpreter/wasm_opcode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ typedef enum WASMAtomicEXTOpcode {
807807
SET_GOTO_TABLE_ELEM(EXT_OP_TEE_LOCAL_FAST_V128), \
808808
SET_GOTO_TABLE_ELEM(EXT_OP_COPY_STACK_TOP_V128), \
809809
SET_GOTO_TABLE_ELEM(WASM_OP_GET_GLOBAL_128), \
810-
SET_GOTO_TABLE_ELEM(WASM_OP_SET_GLOBAL_128), \
810+
SET_GOTO_TABLE_ELEM(WASM_OP_SET_GLOBAL_128),
811811

812812
#else
813813
#define DEF_EXT_V128_HANDLE()

0 commit comments

Comments
 (0)