| Index: src/wasm/wasm-module.h
|
| diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
|
| index 4a9faf0b000f63efbdabf051d0afbd4ee7a789d6..51c979ae660af7e21a8610b69c158c1fd1f0eb6c 100644
|
| --- a/src/wasm/wasm-module.h
|
| +++ b/src/wasm/wasm-module.h
|
| @@ -101,6 +101,9 @@ static const size_t kDeclDataSegmentSize = 13;
|
|
|
| static const uint32_t kMaxReturnCount = 1;
|
|
|
| +// minimum number of entries in the table for JITing
|
| +static const uint32_t kMinimumIndirectTableSize = 1024;
|
| +
|
| // Static representation of a WASM function.
|
| struct WasmFunction {
|
| FunctionSig* sig; // signature of the function.
|
| @@ -229,6 +232,8 @@ struct WasmModuleInstance {
|
| size_t mem_size; // size of the linear memory.
|
| // -- raw globals -----------------------------------------------------------
|
| byte* globals_start; // start of the globals area.
|
| + // -- indirect function table information -----------------------------------
|
| + int padded_entries; // number of entries padded to the indirect func. table
|
|
|
| explicit WasmModuleInstance(const WasmModule* m)
|
| : module(m),
|
|
|