[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 02/02: Consider $code to make 'ptr representation
From: |
Andy Wingo |
Subject: |
[Guile-commits] 02/02: Consider $code to make 'ptr representation |
Date: |
Fri, 12 May 2023 05:15:13 -0400 (EDT) |
wingo pushed a commit to branch wip-tailify
in repository guile.
commit c877a50f433740f1fabc08d56954db02210df482
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 cc2130e05..f6224fd22 100644
--- a/module/language/cps/utils.scm
+++ b/module/language/cps/utils.scm
@@ -422,7 +422,7 @@ by a label, respectively."
(($ $primcall 'restore1 repr ())
(intmap-add representations var repr))
(($ $code)
- (intmap-add representations var 'u64))
+ (intmap-add representations var 'ptr))
(_
(intmap-add representations var 'scm))))
(vars