diff options
Diffstat (limited to 'include/wabt/ir.h')
-rw-r--r-- | include/wabt/ir.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/wabt/ir.h b/include/wabt/ir.h index 28818c91..78f3f6f9 100644 --- a/include/wabt/ir.h +++ b/include/wabt/ir.h @@ -493,15 +493,15 @@ class MemoryExpr : public ExprMixin<TypeEnum> { template <ExprType TypeEnum> class MemoryBinaryExpr : public ExprMixin<TypeEnum> { public: - MemoryBinaryExpr(Var srcmemidx, - Var destmemidx, + MemoryBinaryExpr(Var destmemidx, + Var srcmemidx, const Location& loc = Location()) : ExprMixin<TypeEnum>(loc), - srcmemidx(srcmemidx), - destmemidx(destmemidx) {} + destmemidx(destmemidx), + srcmemidx(srcmemidx) {} - Var srcmemidx; Var destmemidx; + Var srcmemidx; }; using DropExpr = ExprMixin<ExprType::Drop>; |