guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 04/07: Consider $code to make 'ptr representation


From: Andy Wingo
Subject: [Guile-commits] 04/07: Consider $code to make 'ptr representation
Date: Mon, 19 Jun 2023 07:54:58 -0400 (EDT)

wingo pushed a commit to branch wip-tailify
in repository guile.

commit aa2cfe7cf69327285a17de97682d696f2f6c43ef
Author: Andy Wingo <wingo@pobox.com>
AuthorDate: Fri May 12 10:58:44 2023 +0200

    Consider $code to make 'ptr representation
    
    * module/language/cps/utils.scm (compute-var-representations): For the
    wasm target, these values are (ref $kvarargs), not i64.  Will need to
    distinguish from bytevector pointers at some point, though.
---
 module/language/cps/utils.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/language/cps/utils.scm b/module/language/cps/utils.scm
index 584fb3ba5..d3aff7f5a 100644
--- a/module/language/cps/utils.scm
+++ b/module/language/cps/utils.scm
@@ -418,7 +418,7 @@ by a label, respectively."
                                'tail-pointer-ref/immediate))
               (intmap-add representations var 'ptr))
              (($ $code)
-              (intmap-add representations var 'u64))
+              (intmap-add representations var 'ptr))
              (_
               (intmap-add representations var 'scm))))
           (vars



reply via email to

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