On 07/10/2015 10:09 AM, Marek Polacek wrote:
ira-lives.c and lra-lives.c both define the same function named
bb_has_abnormal_call_pred.  I think let's factor out this function to
basic-block.h where it really belongs.

Bootstrap/regtest running on x86_64-linux, ok for trunk if it passes?

2015-07-10  Marek Polacek  <pola...@redhat.com>

        PR middle-end/66353
        * basic-block.h (has_abnormal_call_or_eh_pred_edge_p): New function.
        * ira-lives.c (bb_has_abnormal_call_pred): Remove function.
        (process_bb_node_lives): Call has_abnormal_call_or_eh_pred_edge_p
        rather than bb_has_abnormal_call_pred.
        * lra-lives.c (bb_has_abnormal_call_pred): Remove function.
        (process_bb_lives): Call has_abnormal_call_or_eh_pred_edge_p
        rather than bb_has_abnormal_call_pred.
OK.

Jeff

Reply via email to