From 140b7e6e0a8113d5c51e4df03f78fe248b9d3786 Mon Sep 17 00:00:00 2001 From: lemon Date: Wed, 5 Nov 2025 21:52:56 +0100 Subject: delete some dead code --- ir/fold.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'ir') 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 -- cgit v1.2.3