diff options
| author | 2023-07-07 19:00:13 +0200 | |
|---|---|---|
| committer | 2023-07-07 19:00:13 +0200 | |
| commit | 2b78832d3e433e08d742011aa5b7f87396b24c7d (patch) | |
| tree | 8f5e25f203b54872cde9492245d42a2af60da02b /amd64/isel.c | |
| parent | 3a7675d100c8559bf53ef8043d446661b72f2e4e (diff) | |
amd64 codegen fixes
Diffstat (limited to 'amd64/isel.c')
| -rw-r--r-- | amd64/isel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64/isel.c b/amd64/isel.c index da5a128..df972fd 100644 --- a/amd64/isel.c +++ b/amd64/isel.c @@ -403,8 +403,8 @@ seljmp(struct function *fn, struct block *blk) } else { if (!(opflags[instrtab[c.i].op] & ZF) || c.i != blk->ins.p[blk->ins.n - 1]) { blk->jmp.arg[0] = insertinstr(blk, blk->ins.n, mkinstr(Oneq, instrtab[c.i].cls, c, ZEROREF)); + instrtab[blk->jmp.arg[0].i].keep = 1; } - instrtab[blk->jmp.arg[0].i].keep = 1; } } else if (blk->jmp.t == Jret) { if (blk->jmp.arg[0].bits) { |