mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 21:40:33 +02:00
Fix compute-defs-and-uses for $prim
* module/language/cps/utils.scm (compute-defs-and-uses): Add $prim. Wasn't needed before because this function was only ever called after reify-primitives.
This commit is contained in:
parent
0922cbebb9
commit
f8b1607602
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ by a label, respectively."
|
|||
empty-intset))
|
||||
(($ $kargs _ _ ($ $continue k src exp))
|
||||
(match exp
|
||||
((or ($ $const) ($ $const-fun) ($ $code))
|
||||
((or ($ $const) ($ $const-fun) ($ $code) ($ $prim))
|
||||
(return (get-defs k) empty-intset))
|
||||
(($ $call proc args)
|
||||
(return (get-defs k) (intset-add (vars->intset args) proc)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue