From de5d83f21ac12295286b1e8b12189114ea0f9ded Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Tue, 4 Dec 2018 22:58:51 -0500 Subject: [PATCH] Added comment --- scheme/cyclone/cgen.sld | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scheme/cyclone/cgen.sld b/scheme/cyclone/cgen.sld index a3fb9cd1..a2ab568c 100644 --- a/scheme/cyclone/cgen.sld +++ b/scheme/cyclone/cgen.sld @@ -1057,6 +1057,11 @@ ;; another one is assigned to that arg's old value, for example: ;; a = 1, b = 2, c = a ;; In this case the code would need to assign to a temporary variable + ;; + ;; Right now we just play it safe and always assign to temporary variables, + ;; even when we don't need to. I suppose in theory the C compiler can + ;; figure that out (??) but it would be cleaner overall if we could here. + ;; Something to consider for the future. (apply string-append (map (lambda (param arg)