diff options
Diffstat (limited to 'amd64/isel.c')
-rw-r--r-- | amd64/isel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/amd64/isel.c b/amd64/isel.c index 63c304a..6d62275 100644 --- a/amd64/isel.c +++ b/amd64/isel.c @@ -465,7 +465,9 @@ seljmp(Blk *b, Fn *fn) Ins *fi; Tmp *t; - if (b->jmp.type == Jret0 || b->jmp.type == Jjmp) + if (b->jmp.type == Jret0 + || b->jmp.type == Jjmp + || b->jmp.type == Jhlt) return; assert(b->jmp.type == Jjnz); r = b->jmp.arg; |