Index: src/wasm/wasm-module-builder.h |
diff --git a/src/wasm/wasm-module-builder.h b/src/wasm/wasm-module-builder.h |
index dcaf6c8e86c5bdfc8ff3a9ca11179b5c4796ac15..ef67b532b7286407f6f1ad6fcd1a00b176df686c 100644 |
--- a/src/wasm/wasm-module-builder.h |
+++ b/src/wasm/wasm-module-builder.h |
@@ -215,7 +215,8 @@ class V8_EXPORT_PRIVATE WasmModuleBuilder : public ZoneObject { |
uint32_t AddGlobal(LocalType type, bool exported, bool mutability = true); |
void AddDataSegment(const byte* data, uint32_t size, uint32_t dest); |
uint32_t AddSignature(FunctionSig* sig); |
- void AddIndirectFunction(uint32_t index); |
+ uint32_t AllocateIndirectFunctions(uint32_t count); |
+ void SetIndirectFunction(uint32_t indirect, uint32_t direct); |
void MarkStartFunction(WasmFunctionBuilder* builder); |
// Writing methods. |