aboutsummaryrefslogtreecommitdiffhomepage
path: root/amd64/isel.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-11-09 17:08:43 +0100
committerlemon <lsof@mailbox.org>2025-11-09 17:08:43 +0100
commita592e99e7abab7978008ae13cc501d7f54d75de7 (patch)
tree36626f4acea279724c869a824bb5ed7ab6bb030a /amd64/isel.c
parented7cd9a5f6960df788eab5a18c5b1d8b4f59ba14 (diff)
fixup! amd64: get rid of xinc/xdec. handle those at emit stage
Diffstat (limited to 'amd64/isel.c')
-rw-r--r--amd64/isel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64/isel.c b/amd64/isel.c
index 6856b72..8108ec4 100644
--- a/amd64/isel.c
+++ b/amd64/isel.c
@@ -10,7 +10,7 @@ enum flag {
};
/* flags modified by each integer op */
-static const uchar opflags[] = {
+static const uchar opflags[NOPER] = {
[Oneg] = ZF|CLOBF,
[Oadd] = ZF|CLOBF,
[Osub] = ZF|CLOBF,