mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 22:40:34 +02:00
CSE allocate-struct fix
* module/language/cps/cse.scm (compute-equivalent-subexpressions): Fix handling of allocate-struct in tail position.
This commit is contained in:
parent
30411abf5c
commit
6fc634f8a3
1 changed files with 1 additions and 0 deletions
|
@ -341,6 +341,7 @@ could be that both true and false proofs are available."
|
|||
(('primcall (or 'allocate-struct 'allocate-struct/immediate)
|
||||
vtable size)
|
||||
(match defs
|
||||
(() #f) ;; allocate-struct in tail or kreceive position.
|
||||
((struct)
|
||||
(add-def! `(primcall struct-vtable ,(subst-var struct))
|
||||
vtable))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue