[passes] linearozation: avoir duplication of variables
This commit is contained in:
parent
c37e819f1a
commit
57dd9c1aa4
@ -257,7 +257,7 @@ let pass_linearization verbose debug main_fn =
|
|||||||
List.fold_left
|
List.fold_left
|
||||||
(fun (eqs, vars) eq ->
|
(fun (eqs, vars) eq ->
|
||||||
let es, vs = pre_aux_equation vars eq in
|
let es, vs = pre_aux_equation vars eq in
|
||||||
es @ eqs, ((fst vs) @ (fst vars), (snd vs) @ (snd vars)))
|
es @ eqs, vars)
|
||||||
([], node.n_local_vars)
|
([], node.n_local_vars)
|
||||||
new_equations
|
new_equations
|
||||||
in
|
in
|
||||||
|
Loading…
Reference in New Issue
Block a user