Commit 7ca26091 by Yi Yang Committed by Yi Yang

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
parent 207c68cd
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> 2014-08-08 Richard Biener <rguenther@suse.de>
* lto-streamer.h (struct lto_input_block): Make it a class * lto-streamer.h (struct lto_input_block): Make it a class
......
...@@ -1859,7 +1859,6 @@ expr_expected_value_1 (tree type, tree op0, enum tree_code code, ...@@ -1859,7 +1859,6 @@ expr_expected_value_1 (tree type, tree op0, enum tree_code code,
return val; return val;
if (predictor) if (predictor)
{ {
*predictor = PRED_BUILTIN_EXPECT;
tree val2 = gimple_call_arg (def, 2); tree val2 = gimple_call_arg (def, 2);
gcc_assert (TREE_CODE (val2) == INTEGER_CST gcc_assert (TREE_CODE (val2) == INTEGER_CST
&& tree_fits_uhwi_p (val2) && tree_fits_uhwi_p (val2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment