From aa2cfe7cf69327285a17de97682d696f2f6c43ef Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Fri, 12 May 2023 10:58:44 +0200 Subject: [PATCH] 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