14 lines
432 B
Factor
14 lines
432 B
Factor
|
! Copyright (C) 2009 Slava Pestov.
|
||
|
! See http://factorcode.org/license.txt for BSD license.
|
||
|
USING: compiler.cfg.linearization compiler.cfg.two-operand
|
||
|
compiler.cfg.liveness compiler.cfg.gc-checks compiler.cfg.linear-scan
|
||
|
compiler.cfg.stack-frame compiler.cfg.rpo ;
|
||
|
IN: compiler.cfg.mr
|
||
|
|
||
|
: build-mr ( cfg -- mr )
|
||
|
convert-two-operand
|
||
|
compute-liveness
|
||
|
insert-gc-checks
|
||
|
linear-scan
|
||
|
flatten-cfg
|
||
|
build-stack-frame ;
|