wingo pushed a commit to branch wip-tailify
in repository guile.
commit aa2cfe7cf69327285a17de97682d696f2f6c43ef
Author: Andy Wingo <[email protected]>
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