cwebber pushed a commit to branch compile-to-js-merge
in repository guile.

commit 7e2f526e4d7c5c2e10bc51bd9f3c706c722c6f7a
Author: Christopher Lemmer Webber <[email protected]>
AuthorDate: Tue May 11 10:17:57 2021 -0400

    Fix import of lower-cps in compile-js.scm
    
    * module/language/cps/compile-js.scm (lower-cps): Fix import of lower-cps.
---
 module/language/cps/compile-js.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/language/cps/compile-js.scm 
b/module/language/cps/compile-js.scm
index 244a169..c9b0df3 100644
--- a/module/language/cps/compile-js.scm
+++ b/module/language/cps/compile-js.scm
@@ -29,7 +29,7 @@
   #:export (compile-js))
 
 (define intmap-select (@@ (language cps compile-bytecode) intmap-select))
-(define lower-cps (@@ (language cps compile-bytecode) lower-cps))
+(define lower-cps (@@ (language cps optimize) lower-cps))
 
 (define (compile-js exp env opts)
   ;; TODO: I should special case the compilation for the initial fun,

Reply via email to