compiler.cfg.ssa.destruction: rename coalesce word to destruct-ssa
parent
09d89c0d17
commit
9afa39aa3a
|
@ -42,7 +42,7 @@ SYMBOL: check-optimizer?
|
||||||
copy-propagation
|
copy-propagation
|
||||||
eliminate-dead-code
|
eliminate-dead-code
|
||||||
eliminate-write-barriers
|
eliminate-write-barriers
|
||||||
coalesce
|
destruct-ssa
|
||||||
delete-empty-blocks
|
delete-empty-blocks
|
||||||
?check
|
?check
|
||||||
] with-scope ;
|
] with-scope ;
|
||||||
|
|
|
@ -47,7 +47,7 @@ SYMBOL: seen
|
||||||
: remove-phis ( cfg -- )
|
: remove-phis ( cfg -- )
|
||||||
[ [ remove-phis-from-block ] if-has-phis ] each-basic-block ;
|
[ [ remove-phis-from-block ] if-has-phis ] each-basic-block ;
|
||||||
|
|
||||||
: coalesce ( cfg -- cfg' )
|
: destruct-ssa ( cfg -- cfg' )
|
||||||
dup cfg-has-phis? [
|
dup cfg-has-phis? [
|
||||||
init-coalescing
|
init-coalescing
|
||||||
compute-ssa-live-sets
|
compute-ssa-live-sets
|
||||||
|
|
|
@ -1191,7 +1191,7 @@ test-diamond
|
||||||
cfg new 0 get >>entry
|
cfg new 0 get >>entry
|
||||||
value-numbering
|
value-numbering
|
||||||
compute-predecessors
|
compute-predecessors
|
||||||
coalesce drop
|
destruct-ssa drop
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
[ 1 ] [ 1 get successors>> length ] unit-test
|
[ 1 ] [ 1 get successors>> length ] unit-test
|
||||||
|
|
Loading…
Reference in New Issue