compiler.tree.tuple-unboxing: simpler checks.
parent
5fabc0c4d7
commit
76b9220bfa
|
|
@ -169,5 +169,6 @@ M: #alien-node unbox-tuples* dup in-d>> assert-not-unboxed ;
|
||||||
M: #alien-callback unbox-tuples* ;
|
M: #alien-callback unbox-tuples* ;
|
||||||
|
|
||||||
: unbox-tuples ( nodes -- nodes )
|
: unbox-tuples ( nodes -- nodes )
|
||||||
(allocation) escaping-allocations get assoc-diff assoc-empty?
|
(allocation) escaping-allocations get
|
||||||
|
[ nip key? ] curry assoc-all?
|
||||||
[ [ unbox-tuples* ] map-nodes ] unless ;
|
[ [ unbox-tuples* ] map-nodes ] unless ;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue