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:
parent
207c68cd61
commit
7ca26091fc
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user