diff options
author | Gary Benson <gbenson@redhat.com> | 2014-01-06 14:14:21 +0000 |
---|---|---|
committer | Gary Benson <gary@gcc.gnu.org> | 2014-01-06 14:14:21 +0000 |
commit | 0a15a50e83b0799cdf18adc39ba7945134b98685 (patch) | |
tree | 91ad70d43240c61f727c41e1a180f23a036cb090 /gcc | |
parent | a4e33812b0fe66f2d868d299b9b1fff0f0e84905 (diff) | |
download | gcc-0a15a50e83b0799cdf18adc39ba7945134b98685.zip gcc-0a15a50e83b0799cdf18adc39ba7945134b98685.tar.gz gcc-0a15a50e83b0799cdf18adc39ba7945134b98685.tar.bz2 |
cp-demangle.c (struct d_print_info): New fields next_saved_scope...
libiberty/
2014-01-06 Gary Benson <gbenson@redhat.com>
* cp-demangle.c (struct d_print_info): New fields
next_saved_scope, copy_templates, next_copy_template and
num_copy_templates.
(d_count_templates): New function.
(d_print_init): New parameter "dc".
Estimate numbers of templates and scopes required.
(d_print_free): Removed function.
(cplus_demangle_print_callback): Allocate stack for
templates and scopes. Removed call to d_print_free.
(d_copy_templates): Removed function.
(d_save_scope): New function.
(d_get_saved_scope): Likewise.
(d_print_comp): Replace state saving/restoring code with
calls to d_save_scope and d_get_saved_scope.
From-SVN: r206362
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions