compiler.cfg.ssa.destruction: rename coalesce word to destruct-ssa

db4
Slava Pestov 2009-07-28 12:56:33 -05:00
parent 09d89c0d17
commit 9afa39aa3a
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ SYMBOL: check-optimizer?
copy-propagation
eliminate-dead-code
eliminate-write-barriers
coalesce
destruct-ssa
delete-empty-blocks
?check
] with-scope ;

View File

@ -47,7 +47,7 @@ SYMBOL: seen
: remove-phis ( cfg -- )
[ [ remove-phis-from-block ] if-has-phis ] each-basic-block ;
: coalesce ( cfg -- cfg' )
: destruct-ssa ( cfg -- cfg' )
dup cfg-has-phis? [
init-coalescing
compute-ssa-live-sets

View File

@ -1191,7 +1191,7 @@ test-diamond
cfg new 0 get >>entry
value-numbering
compute-predecessors
coalesce drop
destruct-ssa drop
] unit-test
[ 1 ] [ 1 get successors>> length ] unit-test