Maing vocabs.hierarchy use sets; modifying alias analysis's use of sets
parent
1217dc9c6e
commit
1e5f202998
|
@ -298,7 +298,7 @@ SYMBOL: live-stores
|
||||||
histories get
|
histories get
|
||||||
values [
|
values [
|
||||||
values [ [ store? ] filter [ insn#>> ] map ] map concat
|
values [ [ store? ] filter [ insn#>> ] map ] map concat
|
||||||
] map concat HS{ } set-like
|
] map concat fast-set
|
||||||
live-stores set ;
|
live-stores set ;
|
||||||
|
|
||||||
GENERIC: eliminate-dead-stores* ( insn -- insn' )
|
GENERIC: eliminate-dead-stores* ( insn -- insn' )
|
||||||
|
|
|
@ -65,8 +65,8 @@ PRIVATE>
|
||||||
#! Hack.
|
#! Hack.
|
||||||
[ vocab-prefix? ] partition
|
[ vocab-prefix? ] partition
|
||||||
[
|
[
|
||||||
[ vocab-name ] map unique
|
[ vocab-name ] map fast-set
|
||||||
'[ name>> _ key? not ] filter
|
'[ name>> _ in? not ] filter
|
||||||
convert-prefixes
|
convert-prefixes
|
||||||
] keep
|
] keep
|
||||||
append ;
|
append ;
|
||||||
|
|
Loading…
Reference in New Issue