diff options
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r-- | src/wasm-builder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h index 6e342771b..e25dafc60 100644 --- a/src/wasm-builder.h +++ b/src/wasm-builder.h @@ -91,7 +91,7 @@ public: call->fullType = type; call->type = type->result; call->target = target; - call->operands = args; + call->operands.set(args); return call; } // FunctionType @@ -162,11 +162,11 @@ public: ret->value = value; return ret; } - Host* makeHost(HostOp op, Name nameOperand, ExpressionList&& operands) { + Host* makeHost(HostOp op, Name nameOperand, std::vector<Expression*>&& operands) { auto* ret = allocator.alloc<Host>(); ret->op = op; ret->nameOperand = nameOperand; - ret->operands = operands; + ret->operands.set(operands); return ret; } // Unreachable |