Remove a redundant assignment "*predictor = PRED_BUILTIN_EXPECT;", since six

lines later *predictor is assigned again.

--

2014-08-08  Yi Yang  <ahyangyi@google.com>

gcc:
    * predict.c (expr_expected_value_1): Remove the redundant assignment.

From-SVN: r213760
This commit is contained in:
Yi Yang 2014-08-08 12:06:51 -05:00 committed by Yi Yang
parent 207c68cd61
commit 7ca26091fc
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-08-07 Yi Yang <ahyangyi@google.com>
* predict.c (expr_expected_value_1): Remove the redundant assignment.
2014-08-08 Richard Biener <rguenther@suse.de>
* lto-streamer.h (struct lto_input_block): Make it a class

View File

@ -1859,7 +1859,6 @@ expr_expected_value_1 (tree type, tree op0, enum tree_code code,
return val;
if (predictor)
{
*predictor = PRED_BUILTIN_EXPECT;
tree val2 = gimple_call_arg (def, 2);
gcc_assert (TREE_CODE (val2) == INTEGER_CST
&& tree_fits_uhwi_p (val2)