Don't use combinators.short-circuit in compiler
parent
23550ebe16
commit
c678e6e362
|
@ -2,7 +2,7 @@
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: assocs classes classes.algebra classes.tuple
|
USING: assocs classes classes.algebra classes.tuple
|
||||||
classes.tuple.private kernel accessors math math.intervals
|
classes.tuple.private kernel accessors math math.intervals
|
||||||
namespaces sequences words combinators combinators.short-circuit
|
namespaces sequences words combinators
|
||||||
arrays compiler.tree.propagation.copy ;
|
arrays compiler.tree.propagation.copy ;
|
||||||
IN: compiler.tree.propagation.info
|
IN: compiler.tree.propagation.info
|
||||||
|
|
||||||
|
@ -253,12 +253,13 @@ DEFER: (value-info-union)
|
||||||
{ [ over not ] [ 2drop f ] }
|
{ [ over not ] [ 2drop f ] }
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
[ [ class>> ] bi@ class<= ]
|
{ [ 2dup [ class>> ] bi@ class<= not ] [ f ] }
|
||||||
[ [ interval>> ] bi@ interval-subset? ]
|
{ [ 2dup [ interval>> ] bi@ interval-subset? not ] [ f ] }
|
||||||
[ literals<= ]
|
{ [ 2dup literals<= not ] [ f ] }
|
||||||
[ [ length>> ] bi@ value-info<= ]
|
{ [ 2dup [ length>> ] bi@ value-info<= not ] [ f ] }
|
||||||
[ [ slots>> ] bi@ [ value-info<= ] 2all? ]
|
{ [ 2dup [ slots>> ] bi@ [ value-info<= ] 2all? not ] [ f ] }
|
||||||
} 2&&
|
[ t ]
|
||||||
|
} cond 2nip
|
||||||
]
|
]
|
||||||
} cond ;
|
} cond ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue