mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-09 23:30:21 +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! &box))
|
||||||
(_
|
(_
|
||||||
(add-deps! (effects-clobber
|
(add-deps! (effects-clobber
|
||||||
(logior fx &car &cdr &vector &struct &box)))
|
(logand
|
||||||
|
fx
|
||||||
|
(cause (logior &car &cdr &vector &struct &box)))))
|
||||||
#t)))
|
#t)))
|
||||||
(_ #t))
|
(_ #t))
|
||||||
(lp (1+ label))))))
|
(lp (1+ label))))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue