This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 08/10] dwarf2cfi.c: remove typedef that hides pointerness
- From: tbsaunde+gcc at tbsaunde dot org
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 3 Sep 2015 01:26:44 -0400
- Subject: [PATCH 08/10] dwarf2cfi.c: remove typedef that hides pointerness
- Authentication-results: sourceware.org; auth=none
- References: <1441258006-10575-1-git-send-email-tbsaunde+gcc at tbsaunde dot org>
From: Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
gcc/ChangeLog:
2015-09-03 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* dwarf2cfi.c (dw_trace_info_ref): Remove typedef.
---
gcc/dwarf2cfi.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/gcc/dwarf2cfi.c b/gcc/dwarf2cfi.c
index ab18062..1cfa6a7 100644
--- a/gcc/dwarf2cfi.c
+++ b/gcc/dwarf2cfi.c
@@ -160,9 +160,6 @@ struct dw_trace_info
};
-typedef dw_trace_info *dw_trace_info_ref;
-
-
/* Hashtable helpers. */
struct trace_info_hasher : nofree_ptr_hash <dw_trace_info>
@@ -186,7 +183,7 @@ trace_info_hasher::equal (const dw_trace_info *a, const dw_trace_info *b)
/* The variables making up the pseudo-cfg, as described above. */
static vec<dw_trace_info> trace_info;
-static vec<dw_trace_info_ref> trace_work_list;
+static vec<dw_trace_info *> trace_work_list;
static hash_table<trace_info_hasher> *trace_index;
/* A vector of call frame insns for the CIE. */
--
2.4.0