compiler.cfg.linearization: change order to fit older unit tests
parent
83e0c60573
commit
687454878a
|
@ -9,6 +9,7 @@ compiler.cfg.liveness
|
|||
compiler.cfg.registers
|
||||
compiler.cfg.utilities
|
||||
compiler.cfg.instructions
|
||||
compiler.cfg.predecessors
|
||||
compiler.cfg.parallel-copy
|
||||
compiler.cfg.linear-scan.assignment
|
||||
compiler.cfg.linear-scan.allocation.state ;
|
||||
|
@ -75,5 +76,7 @@ SYMBOL: temp
|
|||
dup successors>> [ resolve-edge-data-flow ] with each ;
|
||||
|
||||
: resolve-data-flow ( cfg -- )
|
||||
needs-predecessors
|
||||
|
||||
H{ } clone spill-temps set
|
||||
[ resolve-block-data-flow ] each-basic-block ;
|
||||
|
|
|
@ -53,7 +53,7 @@ SYMBOLS: work-list loop-heads visited ;
|
|||
] [ drop ] if ;
|
||||
|
||||
: sorted-successors ( bb -- seq )
|
||||
successors>> [ loop-nesting-at ] sort-with ;
|
||||
successors>> <reversed> [ loop-nesting-at ] sort-with ;
|
||||
|
||||
: process-block ( bb -- )
|
||||
[ , ]
|
||||
|
|
Loading…
Reference in New Issue