re-org bh_definition.c && introduce wamr fast interpreter (#189)
Co-authored-by: Xu Jun
This commit is contained in:
@ -189,6 +189,12 @@ typedef struct WASMFunction {
|
||||
bool has_op_func_call;
|
||||
uint32 code_size;
|
||||
uint8 *code;
|
||||
#if WASM_ENABLE_FAST_INTERP != 0
|
||||
uint32 code_compiled_size;
|
||||
uint8 *code_compiled;
|
||||
uint8 *consts;
|
||||
uint32 const_cell_num;
|
||||
#endif
|
||||
} WASMFunction;
|
||||
|
||||
typedef struct WASMGlobal {
|
||||
@ -231,7 +237,7 @@ typedef struct WASIArguments {
|
||||
uint32 map_dir_count;
|
||||
const char **env;
|
||||
uint32 env_count;
|
||||
const char **argv;
|
||||
char **argv;
|
||||
uint32 argc;
|
||||
} WASIArguments;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user