summaryrefslogtreecommitdiff
path: root/module/language/cps/spec.scm
diff options
context:
space:
mode:
authorChristopher Lemmer Webber <cwebber@dustycloud.org>2021-05-10 15:58:15 -0400
committerChristopher Lemmer Webber <cwebber@dustycloud.org>2021-05-10 15:58:15 -0400
commit88f7aa0b3aa48f10a04715c5bc24e2039eae9c6c (patch)
tree801cb0c4bd8c4cf1e0a98bcb50c2f6b557c935d7 /module/language/cps/spec.scm
parent53e5cf654d5f4d95f407cd814472bcc09a69cd15 (diff)
parent05c57a6a66904861bb760aea13dd3ad3117c5966 (diff)
downloadguile-88f7aa0b3aa48f10a04715c5bc24e2039eae9c6c.tar.gz
Merge branch 'compile-to-js-2017' into compile-to-js-rebase
Diffstat (limited to 'module/language/cps/spec.scm')
-rw-r--r--module/language/cps/spec.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/language/cps/spec.scm b/module/language/cps/spec.scm
index 5864203cb..add9bb14c 100644
--- a/module/language/cps/spec.scm
+++ b/module/language/cps/spec.scm
@@ -1,6 +1,6 @@
;;; Continuation-passing style (CPS) intermediate language (IL)
-;; Copyright (C) 2015 Free Software Foundation, Inc.
+;; Copyright (C) 2015, 2017 Free Software Foundation, Inc.
;;;; This library is free software; you can redistribute it and/or
;;;; modify it under the terms of the GNU Lesser General Public
@@ -25,6 +25,7 @@
#:use-module (language cps intmap)
#:use-module (language cps optimize)
#:use-module (language cps compile-bytecode)
+ #:use-module (language cps compile-js)
#:export (cps))
(define (read-cps port env)
@@ -47,6 +48,7 @@
#:title "CPS Intermediate Language"
#:reader read-cps
#:printer write-cps
- #:compilers `((bytecode . ,compile-bytecode))
+ #:compilers `((bytecode . ,compile-bytecode)
+ (js-il . ,compile-js))
#:for-humans? #f
#:lowerer make-cps-lowerer)