guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 03/36: check symbols constants uninterned


From: Christopher Allan Webber
Subject: [Guile-commits] 03/36: check symbols constants uninterned
Date: Tue, 19 Oct 2021 17:59:32 -0400 (EDT)

cwebber pushed a commit to branch wip-elisp-rebased
in repository guile.

commit 68d0752bfd34f408be2521fb66128bad8317b54e
Author: Robin Templeton <robin@terpri.org>
AuthorDate: Tue Jun 10 22:57:05 2014 -0400

    check symbols constants uninterned
    
    (Best-ability ChangeLog annotation added by Christopher Allan Webber.)
    
    * module/system/vm/assembler.scm (intern-constant, link-data):
      Update to check "symbol-interned?".
---
 module/system/vm/assembler.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/system/vm/assembler.scm b/module/system/vm/assembler.scm
index 8868343..93cbb4d 100644
--- a/module/system/vm/assembler.scm
+++ b/module/system/vm/assembler.scm
@@ -2007,7 +2007,7 @@ should be .data or .rodata), and return the resulting 
linker object.
                 (write-constant-reference buf pos elt)
                 (lp (1+ i)))))))
 
-       ((symbol? obj)
+       ((and (symbol? obj) (symbol-interned? obj))
         (write-placeholder asm buf pos))
 
        ((keyword? obj)



reply via email to

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