| Index: src/wasm/module-decoder.cc
|
| diff --git a/src/wasm/module-decoder.cc b/src/wasm/module-decoder.cc
|
| index d3b4cca20a3afe916579140ac1d39baf79a80a18..256e3c97c38614e041bd9cfbdc703fe28ad55b74 100644
|
| --- a/src/wasm/module-decoder.cc
|
| +++ b/src/wasm/module-decoder.cc
|
| @@ -615,7 +615,7 @@
|
| uint32_t function_name_length = 0;
|
| uint32_t name_offset = consume_string(&function_name_length, false);
|
| uint32_t func_index = i;
|
| - if (inner.ok() && func_index < module->functions.size()) {
|
| + if (func_index < module->functions.size()) {
|
| module->functions[func_index].name_offset = name_offset;
|
| module->functions[func_index].name_length = function_name_length;
|
| }
|
|
|