line-map.h (struct line_maps): Remove unused field last_listed.
authorGabriel Charette <gchare@google.com>
Thu, 28 Jul 2011 20:57:20 +0000 (20:57 +0000)
committerGabriel Charette <gchare@gcc.gnu.org>
Thu, 28 Jul 2011 20:57:20 +0000 (20:57 +0000)
* include/line-map.h (struct line_maps):
Remove unused field last_listed. Update all users.

From-SVN: r176898

libcpp/ChangeLog
libcpp/include/line-map.h
libcpp/line-map.c

index 3f5ab0b21f298090b37bf11dee07228e826f43ab..1b224182368bcecbbe26fbd647861d792ae0e0b8 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-28  Gabriel Charette  <gchare@google.com>
+
+       * include/line-map.h (struct line_maps):
+       Remove unused field last_listed. Update all users.
+
 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
 
        * configure.ac: Set need_64bit_hwint to yes for x86 targets.
index 3234423ffd8419e306b0cbbe2a69e5939b782a9d..f1d5bee801b98d5bfd0b10da94b7e27775c416f8 100644 (file)
@@ -76,11 +76,6 @@ struct GTY(()) line_maps {
 
   unsigned int cache;
 
-  /* The most recently listed include stack, if any, starts with
-     LAST_LISTED as the topmost including file.  -1 indicates nothing
-     has been listed yet.  */
-  int last_listed;
-
   /* Depth of the include stack, including the current file.  */
   unsigned int depth;
 
index 86e2484fd0a755fbef4ddf81e5cc68ccab1cc1e2..dd3f11cd660e7fedc14546508f29ea1fa8f31830 100644 (file)
@@ -34,7 +34,6 @@ linemap_init (struct line_maps *set)
   set->maps = NULL;
   set->allocated = 0;
   set->used = 0;
-  set->last_listed = -1;
   set->trace_includes = false;
   set->depth = 0;
   set->cache = 0;