compiler.cfg.linear-scan.allocation.state: simplify init-unhandled.
parent
8f0c563268
commit
ad9d44aa2b
|
@ -153,8 +153,8 @@ SYMBOL: spill-slots
|
||||||
-1 progress set ;
|
-1 progress set ;
|
||||||
|
|
||||||
: init-unhandled ( live-intervals sync-points -- )
|
: init-unhandled ( live-intervals sync-points -- )
|
||||||
[ [ [ start>> ] keep ] { } map>assoc unhandled-intervals get heap-push-all ]
|
[ unhandled-intervals get '[ dup start>> _ heap-push ] each ]
|
||||||
[ [ [ n>> ] keep ] { } map>assoc unhandled-sync-points get heap-push-all ]
|
[ unhandled-sync-points get '[ dup n>> _ heap-push ] each ]
|
||||||
bi* ;
|
bi* ;
|
||||||
|
|
||||||
! A utility used by register-status and spill-status words
|
! A utility used by register-status and spill-status words
|
||||||
|
|
Loading…
Reference in New Issue