aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir/fold.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-11-05 21:52:56 +0100
committerlemon <lsof@mailbox.org>2025-11-05 21:52:56 +0100
commit140b7e6e0a8113d5c51e4df03f78fe248b9d3786 (patch)
tree3476d13c0d5867cca7eec5caa8550b1efe5faaa5 /ir/fold.c
parent13471741b538baa45cd53a521cf7d52087f3200f (diff)
delete some dead code
Diffstat (limited to 'ir/fold.c')
-rw-r--r--ir/fold.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ir/fold.c b/ir/fold.c
index fd6076e..ce791fd 100644
--- a/ir/fold.c
+++ b/ir/fold.c
@@ -94,7 +94,6 @@ foldbinop(union ref *to, enum op op, enum irclass k, union ref l, union ref r)
return 0;
if (!oisarith(op))
return 0;
- to->t = oiscmp(op) ? KI4 : k;
if (kisint(k))
*to = foldint(op, k, l, r);
else
@@ -108,7 +107,6 @@ foldunop(union ref *to, enum op op, enum irclass k, union ref a)
if (!iscon(a)) return 0;
if (op != Ocopy && !oisarith(op))
return 0;
- to->t = k;
if (kisint(k))
*to = foldint(op, k, a, ZEROREF);
else