From eae16f56ebede3dfbf584df5b3c968be0a8dfbab Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Wed, 24 Feb 2016 12:10:30 -0500 Subject: fix swapped operands on emitcopy() call --- lisc/emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisc') diff --git a/lisc/emit.c b/lisc/emit.c index f07887b..512f68d 100644 --- a/lisc/emit.c +++ b/lisc/emit.c @@ -407,7 +407,7 @@ emitins(Ins i, Fn *fn, FILE *f) */ emitf("subq %L0, %%rsp", &i, fn, f); if (!req(i.to, R)) - emitcopy(TMP(RSP), i.to, Kl, fn, f); + emitcopy(i.to, TMP(RSP), Kl, fn, f); break; } } -- cgit 1.4.1