Skip to content

Commit 446c52b

Browse files
committed
fix: improve formatting of CHECK_INSTRUCTION_LIMIT macro for better readability
1 parent 76c1448 commit 446c52b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

core/iwasm/interpreter/wasm_interp_fast.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ typedef float64 CellType_F64;
102102
} while (0)
103103

104104
#if WASM_INSTRUCTION_METERING != 0
105-
#define CHECK_INSTRUCTION_LIMIT() \
106-
if (instructions_left == 0) { \
107-
wasm_set_exception(module, "instruction limit exceeded"); \
108-
goto got_exception; \
109-
} \
110-
else if (instructions_left > 0) \
105+
#define CHECK_INSTRUCTION_LIMIT() \
106+
if (instructions_left == 0) { \
107+
wasm_set_exception(module, "instruction limit exceeded"); \
108+
goto got_exception; \
109+
} \
110+
else if (instructions_left > 0) \
111111
instructions_left--;
112112

113113
#else

0 commit comments

Comments
 (0)