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