aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir/fold.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-11-12 19:27:30 +0100
committerlemon <lsof@mailbox.org>2025-11-12 19:27:30 +0100
commit94dd33965b9d9b8c87fa8cb40a8088bfbb1f5e42 (patch)
tree05798ce3a8127c5901d9100c69ea40da834dcff6 /ir/fold.c
parentb55005e5c08868c88ab7109464066f5da36bdf37 (diff)
revert b55005e5c08. correct fix was in c.c
Diffstat (limited to 'ir/fold.c')
-rw-r--r--ir/fold.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ir/fold.c b/ir/fold.c
index 6baafe8..bfd78ff 100644
--- a/ir/fold.c
+++ b/ir/fold.c
@@ -50,7 +50,6 @@ foldint(enum op op, enum irclass k, union ref lr, union ref rr)
case Ougte: x = l.u >= r.u; break;
default: assert(0);
}
- if (!w) x = (uint)x;
return mkintcon(k, x);
}