Empty the redirect_edge_var_map after each pass
authorAlan Lawrence <alan.lawrence@arm.com>
Thu, 3 Dec 2015 15:46:57 +0000 (15:46 +0000)
committerAlan Lawrence <alalaw01@gcc.gnu.org>
Thu, 3 Dec 2015 15:46:57 +0000 (15:46 +0000)
commitb3e4665562a83f85a5d590d137ae042854c035a8
treea53c2da1b8f2239b2465b32c4052b33f45ae7e76
parent46bd784bfb29e94841b7d2702277d77445a7a47f
Empty the redirect_edge_var_map after each pass

Alan Lawrence  <alan.lawrence@arm.com>
Richard Biener  <richard.guenther@gmail.com>

* cfgexpand.c (pass_expand::execute): Replace call to
redirect_edge_var_map_destroy with redirect_edge_var_map_empty.
* tree-ssa.c (delete_tree_ssa): Likewise.
* function.c (set_cfun): Call redirect_edge_var_map_empty.
* passes.c (execute_one_ipa_transform_pass, execute_one_pass): Likewise.
* tree-ssa.h (redirect_edge_var_map_destroy): Remove.
(redirect_edge_var_map_empty): New.
* tree-ssa.c (redirect_edge_var_map_destroy): Remove.
(redirect_edge_var_map_empty): New.

Co-Authored-By: Richard Biener <richard.guenther@gmail.com>
From-SVN: r231232
gcc/ChangeLog
gcc/cfgexpand.c
gcc/function.c
gcc/passes.c
gcc/tree-ssa.c
gcc/tree-ssa.h