aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir
diff options
context:
space:
mode:
Diffstat (limited to 'ir')
-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