summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stdlib/compiler.tl4
1 files changed, 1 insertions, 3 deletions
diff --git a/stdlib/compiler.tl b/stdlib/compiler.tl
index b09324f9..913263a3 100644
--- a/stdlib/compiler.tl
+++ b/stdlib/compiler.tl
@@ -1496,9 +1496,7 @@
(afrags0 (collect-each ((arg args))
(let* ((aoreg me.(alloc-treg))
(afrag me.(compile aoreg env arg)))
- (if (nequal afrag.oreg aoreg)
- me.(free-treg aoreg)
- (push aoreg aoregs))
+ (push aoreg aoregs)
afrag)))
(afrags (handle-mutated-var-args afrags0 spy.mutated-vars))
(fvars [reduce-left uni afrags nil .fvars])