aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-threadupdate.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2017-09-12 07:24:32 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2017-09-12 07:24:32 +0000
commitcff44c10ae1f4d3dc73abed85dfa785b70a553e1 (patch)
tree4e0a7a26649e757b926dfff57e4c91b6717ba8f0 /gcc/tree-ssa-threadupdate.c
parent072f1e63ad57fdcabb2ce52eaa7e57410bf442cb (diff)
downloadgcc-cff44c10ae1f4d3dc73abed85dfa785b70a553e1.zip
gcc-cff44c10ae1f4d3dc73abed85dfa785b70a553e1.tar.gz
gcc-cff44c10ae1f4d3dc73abed85dfa785b70a553e1.tar.bz2
tree-ssa-threadbackward.c (fsm_find_thread_path): Make GC vectors heap vectors.
* tree-ssa-threadbackward.c (fsm_find_thread_path): Make GC vectors heap vectors. Clean up comments. Make visited_bbs a reference. (profitable_jump_thread_path): Make GC vectors heap vectors. Clean up comments. Misc cleanups. (convert_and_register_jump_thread_path): Make GC vectors heap vectors. (check_subpath_and_update_thread_path): Same. Clean up comments. Make visited_bbs a reference. (handle_phi): Abstract common code to to register_jump_thread_path_if_profitable. Rename VAR_BB to DEF_BB. Update comments. Make GC vectors heap vectors. Make visited_bbs a reference. (handle_assignment): Same. (register_jump_thread_path_if_profitable): New. (fsm_find_control_statement_thread_paths): Rename VAR_BB to DEF_BB. Make GC vectors heap vectors. Clean up comments. Make visited_bbs a reference. (find_jump_threads_backwards): Make visited_bbs live in the stack. * tree-ssa-threadupdate.c (delete_jump_thread_path): Fix typo in comment. From-SVN: r251998
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
-rw-r--r--gcc/tree-ssa-threadupdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c
index d68223a..28c81a6 100644
--- a/gcc/tree-ssa-threadupdate.c
+++ b/gcc/tree-ssa-threadupdate.c
@@ -2577,7 +2577,7 @@ thread_through_all_blocks (bool may_peel_loop_headers)
return retval;
}
-/* Delete the jump threading path PATH. We have to explcitly delete
+/* Delete the jump threading path PATH. We have to explicitly delete
each entry in the vector, then the container. */
void