Add a few more assertions on structures to which aot abi is sensitive (#2326)
This commit is contained in:
@ -42,6 +42,9 @@ bh_static_assert(offsetof(AOTModuleInstance, cur_exception)
|
||||
bh_static_assert(offsetof(AOTModuleInstance, global_table_data)
|
||||
== 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);
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user