diff --git a/module/language/cps/cse.scm b/module/language/cps/cse.scm index ad1c4b36e..52c22affa 100644 --- a/module/language/cps/cse.scm +++ b/module/language/cps/cse.scm @@ -362,6 +362,12 @@ be that both true and false proofs are available." (hash-set! equiv-set aux-key (acons label (list var) equiv)))) (match exp-key + (('primcall 'box val) + (match defs + ((box) + (add-def! `(primcall box-ref ,box) val)))) + (('primcall 'box-set! box val) + (add-def! `(primcall box-ref ,box) val)) (('primcall 'cons car cdr) (match defs ((pair)