         \ 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 ,
+        \ compiler.cfg.finalization:finalize-cfg ,
         machine-passes %
         linear-scan-passes %
         \ compiler.codegen:generate ,

! Copyright (C) 2009 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.codegen
QUALIFIED: compiler.tree.builder
QUALIFIED: compiler.tree.optimizer


: 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 ;

