diff options
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r-- | src/wasm-builder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h index 77e2692f6..75e73a834 100644 --- a/src/wasm-builder.h +++ b/src/wasm-builder.h @@ -221,8 +221,9 @@ public: call->finalize(); return call; } + template<typename T> CallIndirect* makeCallIndirect(Expression* target, - const std::vector<Expression*>& args, + const T& args, Signature sig, bool isReturn = false) { auto* call = wasm.allocator.alloc<CallIndirect>(); |