Skip to content

Commit fd482a3

Browse files
committed
fix typo
1 parent 10e39cb commit fd482a3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

core/iwasm/aot/aot_runtime.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,10 @@ bh_static_assert(offsetof(AOTModuleInstance, c_api_func_imports)
5353
#if WASM_ENABLE_COMPONENT_MODEL != 0
5454
bh_static_assert(offsetof(AOTModuleInstance, global_table_data)
5555
== 13 * sizeof(uint64) + 128 + 14 * sizeof(uint64)
56-
#if WASM_ENABLE_COMPONENT_MODEL != 0
57-
bh_static_assert(offsetof(AOTModuleInstance, global_table_data)
58-
== 13 * sizeof(uint64) + 128 + 14 * sizeof(uint64)
5956
+ sizeof(void *) + sizeof(uint64));
6057
#else
6158
bh_static_assert(offsetof(AOTModuleInstance, global_table_data)
62-
== 13 * sizeof(uint64) + 128 + 14 * sizeof(uint64));
59+
== 13 * sizeof(uint64) + 128 + 14 * sizeof(uint64));
6360
#endif
6461

6562
bh_static_assert(sizeof(AOTMemoryInstance) == 120);

0 commit comments

Comments
 (0)