compiler.cfg.*: detached the normalize-height and schedule-instructions passes

those stages cause uninitialized "holes" in the stacks which in turn
causes gc errors if stack underflows occur
db4
Björn Lindqvist 2014-12-31 21:51:15 +01:00 committed by Doug Coleman
parent 208f01416d
commit 163fef12f9
2 changed files with 2 additions and 6 deletions

View File

@ -2,15 +2,13 @@
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: compiler.cfg.build-stack-frame compiler.cfg.gc-checks USING: compiler.cfg.build-stack-frame compiler.cfg.gc-checks
compiler.cfg.linear-scan compiler.cfg.representations compiler.cfg.linear-scan compiler.cfg.representations
compiler.cfg.save-contexts compiler.cfg.scheduling compiler.cfg.save-contexts compiler.cfg.ssa.destruction
compiler.cfg.ssa.destruction compiler.cfg.stacks.vacant compiler.cfg.stacks.vacant compiler.cfg.utilities compiler.cfg.write-barrier ;
compiler.cfg.utilities compiler.cfg.write-barrier ;
IN: compiler.cfg.finalization IN: compiler.cfg.finalization
: finalize-cfg ( cfg -- ) : finalize-cfg ( cfg -- )
{ {
select-representations select-representations
schedule-instructions
insert-gc-checks insert-gc-checks
eliminate-write-barriers eliminate-write-barriers
compute-vacant-sets compute-vacant-sets

View File

@ -6,7 +6,6 @@ compiler.cfg.block-joining
compiler.cfg.branch-splitting compiler.cfg.branch-splitting
compiler.cfg.copy-prop compiler.cfg.copy-prop
compiler.cfg.dce compiler.cfg.dce
compiler.cfg.height
compiler.cfg.ssa.construction compiler.cfg.ssa.construction
compiler.cfg.tco compiler.cfg.tco
compiler.cfg.useless-conditionals compiler.cfg.useless-conditionals
@ -21,7 +20,6 @@ IN: compiler.cfg.optimizer
delete-useless-conditionals delete-useless-conditionals
split-branches split-branches
join-blocks join-blocks
normalize-height
construct-ssa construct-ssa
alias-analysis alias-analysis
value-numbering value-numbering