Merge two levels of hash cache of branch block address into one (#173)

This commit is contained in:
wenyongh
2020-02-22 21:05:09 +08:00
committed by GitHub
parent 3695f29d34
commit 72d9e886e8
8 changed files with 127 additions and 83 deletions

View File

@ -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;