| Index: src/wasm/wasm-module.h
|
| diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
|
| index 5e84945da9a6d3828b90e8589a2dff56b1babd57..82c05057e90f46f783a00cacdf96f1a263596d68 100644
|
| --- a/src/wasm/wasm-module.h
|
| +++ b/src/wasm/wasm-module.h
|
| @@ -180,7 +180,8 @@ struct ModuleEnv {
|
| return module->signatures->at(index);
|
| }
|
| size_t FunctionTableSize() {
|
| - return module ? module->function_table->size() : 0;
|
| + return module && module->function_table ? module->function_table->size()
|
| + : 0;
|
| }
|
|
|
| Handle<Code> GetFunctionCode(uint32_t index);
|
|
|