chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] mark let-bound variables as inline-transient (


From: Felix
Subject: [Chicken-hackers] [PATCH] mark let-bound variables as inline-transient (resubmission)
Date: Tue, 04 Oct 2011 08:11:20 +0200 (CEST)

Hello!


Attached once more a patch to fix a bug with let-bound variables
introduced during inlining.


cheers,
felix
diff --git a/support.scm b/support.scm
index cb95c0d..d2444b8 100644
--- a/support.scm
+++ b/support.scm
@@ -673,6 +673,7 @@
                  (val1 (walk (first subs) rl))
                  (a (gensym v))
                  (rl2 (alist-cons v a rl)) )
+            (put! db a 'inline-transient #t)
             (make-node 
              'let (list a)
              (list val1 (walk (second subs) rl2)))) ]

reply via email to

[Prev in Thread] Current Thread [Next in Thread]