mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-12 06:41:13 +02:00
prune-top-level-scopes elides with $values
* module/language/cps2/prune-top-level-scopes.scm (prune-top-level-scopes): Given that cache-current-module! is an instruction, it will always continue to a nullary $kargs, so $values is actually the correct replacement and not a values primcall.
This commit is contained in:
parent
0e33ee94f0
commit
467736c3fd
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
||||||
(let ((val (intmap-ref constants scope)))
|
(let ((val (intmap-ref constants scope)))
|
||||||
(not (intset-ref used-scopes val)))))))))
|
(not (intset-ref used-scopes val)))))))))
|
||||||
(build-cont ($kargs names vars
|
(build-cont ($kargs names vars
|
||||||
($continue k src ($primcall 'values ())))))
|
($continue k src ($values ())))))
|
||||||
(_
|
(_
|
||||||
cont)))
|
cont)))
|
||||||
conts)))
|
conts)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue