mirror of
git://c9x.me/qbe.git
synced 2026-04-07 19:09:48 +00:00
I forgot cmp as flag setting instruction!
This commit is contained in:
parent
e65a615c90
commit
e240ec3026
@ -138,6 +138,8 @@ flagi(Ins *i0, Ins *i)
|
|||||||
while (i>i0)
|
while (i>i0)
|
||||||
switch ((--i)->op) {
|
switch ((--i)->op) {
|
||||||
default:
|
default:
|
||||||
|
if (OCmp <= i->op && i->op <= OCmp1)
|
||||||
|
return i;
|
||||||
return 0;
|
return 0;
|
||||||
case OAdd: /* <arch> */
|
case OAdd: /* <arch> */
|
||||||
case OSub:
|
case OSub:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user