mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-09 07:00:23 +02:00
Fix thinko in synthesize-definition-effects!
* module/language/cps/effects-analysis.scm (synthesize-definition-effects!): Fix a boneheaded thinko that caused all primcalls to be marked as causing car, cdr, vector, struct, and box effects.
This commit is contained in:
parent
7af8115675
commit
aa980ce0dc
1 changed files with 3 additions and 1 deletions
|
@ -531,7 +531,9 @@
|
|||
(add-deps! &box))
|
||||
(_
|
||||
(add-deps! (effects-clobber
|
||||
(logior fx &car &cdr &vector &struct &box)))
|
||||
(logand
|
||||
fx
|
||||
(cause (logior &car &cdr &vector &struct &box)))))
|
||||
#t)))
|
||||
(_ #t))
|
||||
(lp (1+ label))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue