2010-04-28 04:47:38 -04:00
|
|
|
! Copyright (C) 2010 Slava Pestov.
|
|
|
|
! See http://factorcode.org/license.txt for BSD license.
|
|
|
|
USING: compiler.cfg.empty-blocks compiler.cfg.gc-checks
|
2010-05-02 18:48:41 -04:00
|
|
|
compiler.cfg.representations compiler.cfg.save-contexts
|
|
|
|
compiler.cfg.ssa.destruction compiler.cfg.build-stack-frame
|
|
|
|
compiler.cfg.linear-scan ;
|
2010-04-28 04:47:38 -04:00
|
|
|
IN: compiler.cfg.finalization
|
|
|
|
|
|
|
|
: finalize-cfg ( cfg -- cfg' )
|
|
|
|
select-representations
|
|
|
|
insert-gc-checks
|
|
|
|
insert-save-contexts
|
|
|
|
destruct-ssa
|
2010-05-02 18:48:41 -04:00
|
|
|
linear-scan
|
|
|
|
build-stack-frame ;
|