summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r--src/wasm-builder.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h
index 4032eb10a..f59646869 100644
--- a/src/wasm-builder.h
+++ b/src/wasm-builder.h
@@ -167,13 +167,6 @@ public:
call->operands.set(args);
return call;
}
- CallImport* makeCallImport(Name target, const std::vector<Expression*>& args, Type type) {
- auto* call = allocator.alloc<CallImport>();
- call->type = type; // similar to makeCall, for consistency
- call->target = target;
- call->operands.set(args);
- return call;
- }
template<typename T>
Call* makeCall(Name target, const T& args, Type type) {
auto* call = allocator.alloc<Call>();
@@ -182,14 +175,6 @@ public:
call->operands.set(args);
return call;
}
- template<typename T>
- CallImport* makeCallImport(Name target, const T& args, Type type) {
- auto* call = allocator.alloc<CallImport>();
- call->type = type; // similar to makeCall, for consistency
- call->target = target;
- call->operands.set(args);
- return call;
- }
CallIndirect* makeCallIndirect(FunctionType* type, Expression* target, const std::vector<Expression*>& args) {
auto* call = allocator.alloc<CallIndirect>();
call->fullType = type->name;