diff options
Diffstat (limited to 'gcc/tree-ssa-loop-niter.c')
-rw-r--r-- | gcc/tree-ssa-loop-niter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index cd2ced3..db666f0 100644 --- a/gcc/tree-ssa-loop-niter.c +++ b/gcc/tree-ssa-loop-niter.c @@ -1935,7 +1935,7 @@ number_of_iterations_cond (class loop *loop, tree simplify_replace_tree (tree expr, tree old, tree new_tree, - tree (*valueize) (tree)) + tree (*valueize) (tree, void*), void *context) { unsigned i, n; tree ret = NULL_TREE, e, se; @@ -1951,7 +1951,7 @@ simplify_replace_tree (tree expr, tree old, tree new_tree, { if (TREE_CODE (expr) == SSA_NAME) { - new_tree = valueize (expr); + new_tree = valueize (expr, context); if (new_tree != expr) return new_tree; } @@ -1967,7 +1967,7 @@ simplify_replace_tree (tree expr, tree old, tree new_tree, for (i = 0; i < n; i++) { e = TREE_OPERAND (expr, i); - se = simplify_replace_tree (e, old, new_tree, valueize); + se = simplify_replace_tree (e, old, new_tree, valueize, context); if (e == se) continue; |