Index: src/wasm/module-decoder.h |
diff --git a/src/wasm/module-decoder.h b/src/wasm/module-decoder.h |
index 2819acf2cba09e40b0b170c4dc3c526973e6e8e2..22a313cec38d5675845e7d3a8edafb34e01f213d 100644 |
--- a/src/wasm/module-decoder.h |
+++ b/src/wasm/module-decoder.h |
@@ -32,8 +32,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 |