[Top][All Lists]

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

[Guile-commits] GNU Guile branch, wip-cps-bis, updated. v2.1.0-187-g2045

From: Mark H Weaver
Subject: [Guile-commits] GNU Guile branch, wip-cps-bis, updated. v2.1.0-187-g204597a
Date: Thu, 15 Aug 2013 22:04:12 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, wip-cps-bis has been updated
       via  204597a4fdd4e7c31103605e8cc4f0f64fdf846a (commit)
      from  239b4dc4b0bf26f40510e256dec1c4299eccb015 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 204597a4fdd4e7c31103605e8cc4f0f64fdf846a
Author: Mark H Weaver <address@hidden>
Date:   Thu Aug 15 17:57:10 2013 -0400

    RTL Compiler: don't load void into a slotless destination.
    * module/language/cps/compile-rtl.scm (emit-rtl-sequence): In
      'emit-val', don't load *unspecified* into DST if DST is #f.


Summary of changes:
 module/language/cps/compile-rtl.scm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/module/language/cps/compile-rtl.scm 
index bdc1e37..73c27fd 100644
--- a/module/language/cps/compile-rtl.scm
+++ b/module/language/cps/compile-rtl.scm
@@ -164,7 +164,8 @@
             (($ $var sym)
              (maybe-mov dst (slot sym)))
             (($ $void)
-             (emit `(load-constant ,dst ,*unspecified*)))
+             (when dst
+               (emit `(load-constant ,dst ,*unspecified*))))
             (($ $const exp)
              (when dst
                (emit `(load-constant ,dst ,exp))))

GNU Guile

reply via email to

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