compiler.tree.propagation.nodes: the loop-nesting variable appears unused
parent
44092bf78d
commit
bb8b77419f
|
@ -5,8 +5,6 @@ compiler.tree.propagation.copy compiler.tree.propagation.info
|
||||||
kernel sequences ;
|
kernel sequences ;
|
||||||
IN: compiler.tree.propagation.nodes
|
IN: compiler.tree.propagation.nodes
|
||||||
|
|
||||||
SYMBOL: loop-nesting
|
|
||||||
|
|
||||||
GENERIC: propagate-before ( node -- )
|
GENERIC: propagate-before ( node -- )
|
||||||
|
|
||||||
GENERIC: propagate-after ( node -- )
|
GENERIC: propagate-after ( node -- )
|
||||||
|
|
|
@ -67,8 +67,6 @@ IN: compiler.tree.propagation.recursive
|
||||||
M: #recursive propagate-around ( #recursive -- )
|
M: #recursive propagate-around ( #recursive -- )
|
||||||
constraints [ H{ } clone suffix ] change
|
constraints [ H{ } clone suffix ] change
|
||||||
[
|
[
|
||||||
loop-nesting inc
|
|
||||||
|
|
||||||
constraints [ but-last H{ } clone suffix ] change
|
constraints [ but-last H{ } clone suffix ] change
|
||||||
|
|
||||||
child>>
|
child>>
|
||||||
|
@ -76,8 +74,6 @@ M: #recursive propagate-around ( #recursive -- )
|
||||||
[ first propagate-recursive-phi ]
|
[ first propagate-recursive-phi ]
|
||||||
[ (propagate) ]
|
[ (propagate) ]
|
||||||
tri
|
tri
|
||||||
|
|
||||||
loop-nesting dec
|
|
||||||
] until-fixed-point ;
|
] until-fixed-point ;
|
||||||
|
|
||||||
: recursive-phi-infos ( node -- infos )
|
: recursive-phi-infos ( node -- infos )
|
||||||
|
|
Loading…
Reference in New Issue