Remove some unused codes (#1379)

Remove some unused fields in module instance and the related codes,
which are introduced by emsdk some special mode (-DSIDE_MODULE=1),
and are not required now.
This commit is contained in:
Wenyong Huang
2022-08-15 10:13:37 +08:00
committed by GitHub
parent bc86674a45
commit 6798637891
5 changed files with 3 additions and 189 deletions

View File

@ -373,19 +373,15 @@ typedef struct AOTModuleInstance {
AOTPointer wasi_ctx;
/* function performance profiling info list */
AOTPointer func_perf_profilings;
/* stack frames, used in call stack dump and perf profiling */
AOTPointer frames;
AOTPointer exec_env_singleton;
/* others */
uint32 temp_ret;
uint32 llvm_stack;
uint32 default_wasm_stack_size;
uint32 _padding;
/* store stacktrace information */
AOTPointer frames;
/* reserved */
uint32 reserved[6];
uint32 reserved[9];
/*
* +------------------------------+ <-- memories.ptr