-! Copyright (C) 2009 Slava Pestov.
+! Copyright (C) 2009, 2010 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors kernel make sequences tools.annotations tools.crossref ;
 QUALIFIED: compiler.cfg.builder
 QUALIFIED: compiler.cfg.linear-scan
-QUALIFIED: compiler.cfg.mr
 QUALIFIED: compiler.cfg.optimizer
-QUALIFIED: compiler.cfg.stacks.finalize
-QUALIFIED: compiler.cfg.stacks.global
+QUALIFIED: compiler.cfg.finalization
 QUALIFIED: compiler.codegen
 QUALIFIED: compiler.tree.builder
 QUALIFIED: compiler.tree.optimizer

        \ compiler.tree.optimizer:optimize-tree ,
        high-level-passes %
        \ compiler.cfg.builder:build-cfg ,
        \ compiler.cfg.stacks.global:compute-global-sets ,
        \ compiler.cfg.stacks.finalize:finalize-stack-shuffling ,
        \ compiler.cfg.optimizer:optimize-cfg ,
        low-level-passes %
        \ compiler.cfg.mr:build-mr ,
        machine-passes %
        linear-scan-passes %
        \ compiler.codegen:generate ,


: low-level-passes ( -- seq ) \ compiler.cfg.optimizer:optimize-cfg passes ;

: machine-passes ( -- seq ) \ compiler.cfg.finalization:finalize-cfg passes ;

: linear-scan-passes ( -- seq ) \ compiler.cfg.linear-scan:(linear-scan) passes ;

