Nathan Sidwell
42a98b43bb
Reorg line_map data structures for better packing.
* include/line-map.h (enum lc_reason): Add LC_HWM.
(LINE_MAP_MAX_LOCATION): Define here.
(struct line_map): Move reason field to line_map_ordinary. Adjust
GTY tagging.
(struct line_map_ordinary): Reorder fields for less padding.
(struct line_map_macro): Likewise.
(MAP_ORDINARY_P): New.
(linemap_check_ordinary, linemap_check_macro): Adjust.
* line-map.c (LINE_MAP_MAX_SOURCE_LOCATION): Delete.
(new_linemap): Take start_location, not reason. Adjust.
(linemap_add, linemap_enter_macro): Adjust.
(linemap_line_start): Likewise.
(linemap_macro_expansion_map_p): Use MAP_ORDINARY_P.
(linemap_macro_loc_to_spelling_point): Likewise.
(linemap_macro_loc_to_def_point): Likewise.
(linemap_dump): Likewise.
From-SVN: r262348
2018-07-03 14:47:11 +00:00
..
2018-07-03 14:47:11 +00:00
2018-06-11 18:07:56 +01:00
2015-05-13 11:02:17 +00:00
2018-07-03 14:47:11 +00:00
2014-11-11 21:55:52 +00:00
2018-01-03 11:03:58 +01:00
2016-11-16 21:10:27 +01:00
2016-11-16 21:10:27 +01:00
2016-11-16 21:10:27 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-02-28 15:27:17 +00:00
2018-07-03 14:47:11 +00:00
2015-11-13 16:29:59 +00:00
2018-02-15 12:43:01 -05:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-05-23 13:13:30 -04:00
2018-01-31 09:31:52 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00