From 8f581638b0bd0dbdbc0c36887f62031c74abe720 Mon Sep 17 00:00:00 2001
From: Jan Hubicka <hubicka@ucw.cz>
Date: Sat, 15 Nov 2014 00:25:20 +0100
Subject: [PATCH] ipa-prop.h (ipa_known_type_data): Remove.

	* ipa-prop.h (ipa_known_type_data): Remove.
	(ipa_binfo_from_known_type_jfunc): Remove.

From-SVN: r217596
---
 gcc/ChangeLog  |  5 +++++
 gcc/ipa-prop.h | 12 ------------
 2 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 600ef7b058fd..c9bc412d2408 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-14  Jan Hubicka  <hubicka@ucw.cz>
+
+	* ipa-prop.h (ipa_known_type_data): Remove.
+	(ipa_binfo_from_known_type_jfunc): Remove.
+
 2014-11-14  Andrew Pinski  <apinski@cavium.com>
 
 	* config/aarch64/aarch64-cores.def (thunderx): Change the scheduler
diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h
index ed991108363d..9e0ce3599835 100644
--- a/gcc/ipa-prop.h
+++ b/gcc/ipa-prop.h
@@ -64,17 +64,6 @@ enum jump_func_type
   IPA_JF_ANCESTOR	    /* represented by field ancestor */
 };
 
-/* Structure holding data required to describe a known type jump function.  */
-struct GTY(()) ipa_known_type_data
-{
-  /* Offset of the component of the base_type being described.  */
-  HOST_WIDE_INT offset;
-  /* Type of the whole object.  */
-  tree base_type;
-  /* Type of the component of the object that is being described.  */
-  tree component_type;
-};
-
 struct ipa_cst_ref_desc;
 
 /* Structure holding data required to describe a constant jump function.  */
@@ -543,7 +532,6 @@ tree ipa_get_indirect_edge_target (struct cgraph_edge *ie,
 				   vec<ipa_agg_jump_function_p> );
 struct cgraph_edge *ipa_make_edge_direct_to_target (struct cgraph_edge *, tree,
 						    bool speculative = false);
-tree ipa_binfo_from_known_type_jfunc (struct ipa_jump_func *);
 tree ipa_impossible_devirt_target (struct cgraph_edge *, tree);
 
 /* Functions related to both.  */
-- 
GitLab