mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
fix swapped operands on emitcopy() call
This commit is contained in:
parent
0705d509dd
commit
eae16f56eb
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user