diff options
Diffstat (limited to 'amd64/emit.c')
-rw-r--r-- | amd64/emit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/amd64/emit.c b/amd64/emit.c index a034a66..9e5996b 100644 --- a/amd64/emit.c +++ b/amd64/emit.c @@ -582,6 +582,9 @@ amd64_emitfn(Fn *fn, FILE *f) emitins(*i, fn, f); lbl = 1; switch (b->jmp.type) { + case Jhlt: + fprintf(f, "\tud2\n"); + break; case Jret0: if (fn->dynalloc) fprintf(f, |