mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
Remove lower-cps call in compile-js.
Since ijp's work, lower-cps is run before it reaches this stage. * module/language/cps/compile-js.scm (lower-cps): Remove import. (compile-js): Remove call to lower-cps.
This commit is contained in:
parent
6f112d501d
commit
a6ba7afed4
1 changed files with 1 additions and 2 deletions
|
@ -29,7 +29,6 @@
|
|||
#:export (compile-js))
|
||||
|
||||
(define intmap-select (@@ (language cps compile-bytecode) intmap-select))
|
||||
(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,
|
||||
|
@ -44,7 +43,7 @@
|
|||
accum))
|
||||
(compute-reachable-functions map 0)
|
||||
'()))
|
||||
(values (make-program (intmap->program (lower-cps exp opts))) env env))
|
||||
(values (make-program (intmap->program exp)) env env))
|
||||
|
||||
|
||||
(define (compile-fun cps kfun)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue