| Index: src/wasm/wasm-module.h
|
| diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
|
| index 2ac04253d72b27b09897a5620f6a569b7bdf064f..51f5fee9cd0dfb22fec7aed7244ddd066277746f 100644
|
| --- a/src/wasm/wasm-module.h
|
| +++ b/src/wasm/wasm-module.h
|
| @@ -105,6 +105,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.
|
| @@ -235,6 +238,8 @@ struct WasmModuleInstance {
|
| // -- raw globals -----------------------------------------------------------
|
| byte* globals_start; // start of the globals area.
|
| size_t globals_size; // size of the globals area.
|
| + // -- indirect function table information -----------------------------------
|
| + int padded_entries; // number of entries padded to the indirect func. table
|
|
|
| explicit WasmModuleInstance(WasmModule* m)
|
| : module(m),
|
|
|