From 694a1a82a0034b54fe871b8df4ad74eccc5d7965 Mon Sep 17 00:00:00 2001
From: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu, 29 Oct 2015 20:37:01 +0000
Subject: [PATCH] Remove unnecessary invalidation support in threading
 2015-10-29  Jeff Law  <law@redhat.com>

	* tree-ssa-scopedtables.h (const_and_copies): Remove invalidate
	method.
	* tree-ssa-scopedtables.h (const_and_copies::invalidate): Remove.
	* tree-ssa-threadedge.c
	(record_temporary_equivalences_from_stmts_at_dest): Remove
	backedge_seen argument and associated code which invalidated
	equivalences based on the value of that argument.
	(thread_through_normal_block): Corresponding changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229559 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/tree-ssa-scopedtables.h | 6 ------
 1 file changed, 6 deletions(-)

(limited to 'gcc/tree-ssa-scopedtables.h')

diff --git a/gcc/tree-ssa-scopedtables.h b/gcc/tree-ssa-scopedtables.h
index 52bcb6ff951..1e6b46cd5bb 100644
--- a/gcc/tree-ssa-scopedtables.h
+++ b/gcc/tree-ssa-scopedtables.h
@@ -168,12 +168,6 @@ class const_and_copies
      value for the first argument.  Try to get rid of this in the future.  */
   void record_const_or_copy (tree, tree, tree);
 
-  /* When threading we need to invalidate certain equivalences after
-     following a loop backedge.  The entries we need to invalidate will
-     always be in this unwindable stack.  This entry point handles
-     finding and invalidating those entries.  */
-  void invalidate (tree);
-
  private:
   vec<tree> m_stack;
   const_and_copies& operator= (const const_and_copies&);
-- 
cgit v1.2.1