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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h
index 86a6460d5..038fdbed5 100644
--- a/src/wasm-builder.h
+++ b/src/wasm-builder.h
@@ -105,7 +105,7 @@ public:
}
CallIndirect* makeCallIndirect(FunctionType* type, Expression* target, const std::vector<Expression*>& args) {
auto* call = allocator.alloc<CallIndirect>();
- call->fullType = type;
+ call->fullType = type->name;
call->type = type->result;
call->target = target;
call->operands.set(args);