diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-24 12:10:30 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-24 12:10:37 -0500 |
commit | eae16f56ebede3dfbf584df5b3c968be0a8dfbab (patch) | |
tree | 24f6ade9eb188230da8b603cd87847c62d20a3b6 | |
parent | 0705d509dd90f43c95870ff49dadc1007bf0429d (diff) | |
download | roux-eae16f56ebede3dfbf584df5b3c968be0a8dfbab.tar.gz |
fix swapped operands on emitcopy() call
-rw-r--r-- | lisc/emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |