compiler.cfg.utilities: make it so block>cfg initializes spill-area-align
parent
fba2eb9ace
commit
22b871d82e
|
@ -106,9 +106,9 @@ ${
|
|||
] unit-test
|
||||
|
||||
! align-spill-area
|
||||
{ t } [
|
||||
${ cell } [
|
||||
3 { } insns>cfg [ align-spill-area ] keep
|
||||
spill-area-align>> cell =
|
||||
spill-area-align>>
|
||||
] unit-test
|
||||
|
||||
! inactive-intervals-for
|
||||
|
|
|
@ -6,7 +6,7 @@ kernel locals make math namespaces sequences sets ;
|
|||
IN: compiler.cfg.utilities
|
||||
|
||||
: block>cfg ( bb -- cfg )
|
||||
cfg new swap >>entry ;
|
||||
f f rot <cfg> ;
|
||||
|
||||
: insns>block ( insns n -- bb )
|
||||
<basic-block> swap >>number swap V{ } like >>instructions ;
|
||||
|
|
Loading…
Reference in New Issue