| Index: src/wasm/module-decoder.h
|
| diff --git a/src/wasm/module-decoder.h b/src/wasm/module-decoder.h
|
| index dd6bd3bc86ea9609e36e9bbf84b9fc7f31df47da..b1ef07d0f97263f3ff8087808b6a9f58abba937c 100644
|
| --- a/src/wasm/module-decoder.h
|
| +++ b/src/wasm/module-decoder.h
|
| @@ -30,8 +30,11 @@ FunctionResult DecodeWasmFunction(Isolate* isolate, Zone* zone, ModuleEnv* env,
|
| // Extracts the function offset table from the wasm module bytes.
|
| // Returns a vector with <offset, length> entries, or failure if the wasm bytes
|
| // are detected as invalid. Note that this validation is not complete.
|
| -FunctionOffsetsResult DecodeWasmFunctionOffsets(const byte* module_start,
|
| - const byte* module_end);
|
| +FunctionOffsetsResult DecodeWasmFunctionOffsets(
|
| + const byte* module_start, const byte* module_end,
|
| + uint32_t num_imported_functions);
|
| +
|
| +WasmInitExpr DecodeWasmInitExprForTesting(const byte* start, const byte* end);
|
|
|
| } // namespace wasm
|
| } // namespace internal
|
|
|