Commit 1d93fa5c by Jeff Law Committed by Jeff Law

tree-vrp.c (identify_jump_threads): Use last_stmt.

        * tree-vrp.c (identify_jump_threads): Use last_stmt.  Remove
        obsolete comment.

From-SVN: r220763
parent ba5b5e24
2015-02-17 Jeff Law <law@redhat.com>
* tree-vrp.c (identify_jump_threads): Use last_stmt. Remove
obsolete comment.
2015-02-17 James Greenhalgh <james.greenhalgh@arm.com> 2015-02-17 James Greenhalgh <james.greenhalgh@arm.com>
* haifa-sched.c (recompute_todo_spec): Treat SCHED_GROUP_P * haifa-sched.c (recompute_todo_spec): Treat SCHED_GROUP_P
......
...@@ -10173,10 +10173,7 @@ identify_jump_threads (void) ...@@ -10173,10 +10173,7 @@ identify_jump_threads (void)
if (! potentially_threadable_block (bb)) if (! potentially_threadable_block (bb))
continue; continue;
/* We only care about blocks ending in a COND_EXPR. While there last = last_stmt (bb);
may be some value in handling SWITCH_EXPR here, I doubt it's
terribly important. */
last = gsi_stmt (gsi_last_nondebug_bb (bb));
/* We're basically looking for a switch or any kind of conditional with /* We're basically looking for a switch or any kind of conditional with
integral or pointer type arguments. Note the type of the second integral or pointer type arguments. Note the type of the second
......
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