diff options
author | Dimitrios Apostolou <jimis@gmx.net> | 2012-06-05 14:25:46 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2012-06-05 10:25:46 -0400 |
commit | d86d21192b13e6b1b92a10d5493d3e36b7f1a50c (patch) | |
tree | a130aa7e9cdc17392a6cb11075c5eba1c5e456a9 /libcpp/line-map.c | |
parent | 9287b16892530f7c22038530672d8d60a5c7fce5 (diff) | |
download | gcc-d86d21192b13e6b1b92a10d5493d3e36b7f1a50c.zip gcc-d86d21192b13e6b1b92a10d5493d3e36b7f1a50c.tar.gz gcc-d86d21192b13e6b1b92a10d5493d3e36b7f1a50c.tar.bz2 |
line-map.c (linemap_enter_macro): Don't zero max_column_hint in every macro.
* line-map.c (linemap_enter_macro): Don't zero max_column_hint in
every macro. This improves performance by reducing the number of
reallocations when track-macro-expansion is on.
From-SVN: r188242
Diffstat (limited to 'libcpp/line-map.c')
-rw-r--r-- | libcpp/line-map.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libcpp/line-map.c b/libcpp/line-map.c index e6a344f..7c4e389 100644 --- a/libcpp/line-map.c +++ b/libcpp/line-map.c @@ -331,7 +331,6 @@ linemap_enter_macro (struct line_maps *set, struct cpp_hashnode *macro_node, num_tokens * sizeof (source_location)); LINEMAPS_MACRO_CACHE (set) = LINEMAPS_MACRO_USED (set) - 1; - set->max_column_hint = 0; return map; } |