mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
set eax before call (for variadics...)
This commit is contained in:
parent
3f3dce67f4
commit
d1c6c305f7
@ -737,6 +737,7 @@ selcall(Fn *fn, Ins *i0, Ins *i1, RAlloc **rap)
|
||||
}
|
||||
}
|
||||
emit(OCall, i1->cls, R, i1->arg[0], CALL(ca));
|
||||
emit(OCopy, Kw, TMP(RAX), getcon((ca >> 8) & 15, fn), R);
|
||||
|
||||
ni = ns = 0;
|
||||
if (ra && aret.inmem)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user