Maing vocabs.hierarchy use sets; modifying alias analysis's use of sets

db4
Daniel Ehrenberg 2010-02-28 22:55:22 -05:00
parent 1217dc9c6e
commit 1e5f202998
2 changed files with 3 additions and 3 deletions

View File

@ -298,7 +298,7 @@ SYMBOL: live-stores
histories get
values [
values [ [ store? ] filter [ insn#>> ] map ] map concat
] map concat HS{ } set-like
] map concat fast-set
live-stores set ;
GENERIC: eliminate-dead-stores* ( insn -- insn' )

View File

@ -65,8 +65,8 @@ PRIVATE>
#! Hack.
[ vocab-prefix? ] partition
[
[ vocab-name ] map unique
'[ name>> _ key? not ] filter
[ vocab-name ] map fast-set
'[ name>> _ in? not ] filter
convert-prefixes
] keep
append ;