summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/txr/stdlib/compiler.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/txr/stdlib/compiler.tl b/share/txr/stdlib/compiler.tl
index 943ae461..e60286c0 100644
--- a/share/txr/stdlib/compiler.tl
+++ b/share/txr/stdlib/compiler.tl
@@ -695,7 +695,7 @@
(bfrag me.(comp-progn btreg benv body))
(boreg (if env.(out-of-scope bfrag.oreg) btreg bfrag.oreg))
(lskip (gensym "l-"))
- (frsize nenv.v-cntr))
+ (frsize (if need-frame nenv.v-cntr 0)))
me.(free-treg btreg)
(new (frag oreg
^((close ,oreg ,frsize ,lskip ,nfixed ,nreq