summaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-17 15:56:41 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-17 15:56:41 +0000
commit4b7a4b97bbccc267e9c257759413a7d5da07fbc6 (patch)
tree51e04045adca5da69da4dcfc833a4a7398c00a66 /gcc/value-prof.c
parent4edf96be554cf9b6053b85e7f9e65c54d3b1725e (diff)
downloadgcc-4b7a4b97bbccc267e9c257759413a7d5da07fbc6.tar.gz
2010-11-17 Richard Guenther <rguenther@suse.de>
* value-prof.c (gimple_divmod_fixed_value_transform): Update the stmt. (gimple_mod_pow2_value_transform): Likewise. (gimple_mod_subtract_transform): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166871 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r--gcc/value-prof.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 07102504232..2b86e026407 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -702,6 +702,7 @@ gimple_divmod_fixed_value_transform (gimple_stmt_iterator *si)
}
gimple_assign_set_rhs_from_tree (si, result);
+ update_stmt (gsi_stmt (*si));
return true;
}
@@ -851,6 +852,7 @@ gimple_mod_pow2_value_transform (gimple_stmt_iterator *si)
result = gimple_mod_pow2 (stmt, prob, count, all);
gimple_assign_set_rhs_from_tree (si, result);
+ update_stmt (gsi_stmt (*si));
return true;
}
@@ -1051,6 +1053,7 @@ gimple_mod_subtract_transform (gimple_stmt_iterator *si)
result = gimple_mod_subtract (stmt, prob1, prob2, i, count1, count2, all);
gimple_assign_set_rhs_from_tree (si, result);
+ update_stmt (gsi_stmt (*si));
return true;
}