aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorAlan Lawrence <alan.lawrence@arm.com>2015-12-03 15:46:57 +0000
committerAlan Lawrence <alalaw01@gcc.gnu.org>2015-12-03 15:46:57 +0000
commitb3e4665562a83f85a5d590d137ae042854c035a8 (patch)
treea53c2da1b8f2239b2465b32c4052b33f45ae7e76 /gcc/cfgexpand.c
parent46bd784bfb29e94841b7d2702277d77445a7a47f (diff)
downloadgcc-b3e4665562a83f85a5d590d137ae042854c035a8.zip
gcc-b3e4665562a83f85a5d590d137ae042854c035a8.tar.gz
gcc-b3e4665562a83f85a5d590d137ae042854c035a8.tar.bz2
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
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 2c3b23d..0cf4172 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -6294,7 +6294,7 @@ pass_expand::execute (function *fun)
expand_phi_nodes (&SA);
/* Release any stale SSA redirection data. */
- redirect_edge_var_map_destroy ();
+ redirect_edge_var_map_empty ();
/* Register rtl specific functions for cfg. */
rtl_register_cfg_hooks ();