aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.h
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-10-05 13:54:33 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-10-05 13:54:33 +0000
commitb2b91e8533114fa1388ff41781a9cd98efef33b0 (patch)
tree36fa7fb13732c47d828dc4e870685ce8b280fb0c /gcc/gimple.h
parent572d790ac101905081acb56881a00fa7fd6d0847 (diff)
downloadgcc-b2b91e8533114fa1388ff41781a9cd98efef33b0.zip
gcc-b2b91e8533114fa1388ff41781a9cd98efef33b0.tar.gz
gcc-b2b91e8533114fa1388ff41781a9cd98efef33b0.tar.bz2
remove gimple_location_ptr ()
gcc/ChangeLog: 2015-10-05 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * gimple.h (gimple_location_ptr): Remove. * tree-vrp.c (check_all_array_refs): Adjust. From-SVN: r228485
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r--gcc/gimple.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h
index 30b1041..cfd8d2c 100644
--- a/gcc/gimple.h
+++ b/gcc/gimple.h
@@ -1734,15 +1734,6 @@ gimple_location_safe (const gimple *g)
return g ? gimple_location (g) : UNKNOWN_LOCATION;
}
-/* Return pointer to location information for statement G. */
-
-static inline const location_t *
-gimple_location_ptr (const gimple *g)
-{
- return &g->location;
-}
-
-
/* Set location information for statement G. */
static inline void