mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-09 13:16:26 +00:00
Add a few more assertions on structures to which aot abi is sensitive (#2326)
This commit is contained in:
parent
03418ef5ac
commit
c39eb46b6f
|
@ -42,6 +42,9 @@ bh_static_assert(offsetof(AOTModuleInstance, cur_exception)
|
||||||
bh_static_assert(offsetof(AOTModuleInstance, global_table_data)
|
bh_static_assert(offsetof(AOTModuleInstance, global_table_data)
|
||||||
== 13 * sizeof(uint64) + 128 + 11 * sizeof(uint64));
|
== 13 * sizeof(uint64) + 128 + 11 * sizeof(uint64));
|
||||||
|
|
||||||
|
bh_static_assert(sizeof(AOTMemoryInstance) == 104);
|
||||||
|
bh_static_assert(offsetof(AOTTableInstance, elems) == 8);
|
||||||
|
|
||||||
bh_static_assert(offsetof(AOTModuleInstanceExtra, stack_sizes) == 0);
|
bh_static_assert(offsetof(AOTModuleInstanceExtra, stack_sizes) == 0);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue
Block a user