{
walk (fun->cfg->x_entry_block_ptr);
}
- void thread_through_all_blocks ()
+ bool thread_through_all_blocks ()
{
- m_threader->thread_through_all_blocks (false);
+ return m_threader->thread_through_all_blocks (false);
}
private:
{
hybrid_threader threader;
threader.thread_jumps (fun);
- threader.thread_through_all_blocks ();
+ if (threader.thread_through_all_blocks ())
+ return (TODO_cleanup_cfg | TODO_update_ssa);
return 0;
}
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- ( TODO_cleanup_cfg | TODO_update_ssa ), /* todo_flags_finish */
+ 0 /* todo_flags_finish */
};
class pass_vrp_threader : public gimple_opt_pass