Merge two levels of hash cache of branch block address into one (#173)
This commit is contained in:
@ -221,9 +221,6 @@ typedef struct BlockAddr {
|
||||
uint8 *end_addr;
|
||||
} BlockAddr;
|
||||
|
||||
#define BLOCK_ADDR_CACHE_SIZE 64
|
||||
#define BLOCK_ADDR_CONFLICT_SIZE 4
|
||||
|
||||
#if WASM_ENABLE_LIBC_WASI != 0
|
||||
typedef struct WASIArguments {
|
||||
const char **dir_list;
|
||||
@ -297,8 +294,6 @@ typedef struct WASMModule {
|
||||
|
||||
StringList const_str_list;
|
||||
|
||||
BlockAddr block_addr_cache[BLOCK_ADDR_CACHE_SIZE][BLOCK_ADDR_CONFLICT_SIZE];
|
||||
|
||||
#if WASM_ENABLE_LIBC_WASI != 0
|
||||
WASIArguments wasi_args;
|
||||
bool is_wasi_module;
|
||||
|
||||
Reference in New Issue
Block a user