commit eae16f56ebede3dfbf584df5b3c968be0a8dfbab
parent 0705d509dd90f43c95870ff49dadc1007bf0429d
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Wed, 24 Feb 2016 12:10:30 -0500
fix swapped operands on emitcopy() call
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
}
}