diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-11 00:41:29 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-11 00:41:29 +0000 |
| commit | 169164630a30180d2b6a962d7094474d0a601ff2 (patch) | |
| tree | 6f2dff5fbecaa3fc1d3a8fbc15ad8d28758c8d84 /gcc/java/mangle.c | |
| parent | 744d9e7f7a7ebfe4feb847603c6c391c2db0e933 (diff) | |
| download | ppe42-gcc-169164630a30180d2b6a962d7094474d0a601ff2.tar.gz ppe42-gcc-169164630a30180d2b6a962d7094474d0a601ff2.zip | |
2005-12-10 Paolo Carlini <pcarlini@suse.de>
* include/ext/sso_string_base.h (__sso_string_base<>::_M_compare):
Add, specialized for char and wchar_t to immediately return true
when a string is compared to itself.
* include/ext/rc_string_base.h (__rc_string_base<>::_M_compare):
Likewise, for the same _Rep.
* include/ext/vstring.h (compare(const string&)): Use it.
* include/ext/sso_string_base.h (__sso_string_base<>::_M_destroy):
Deallocate passed size + 1.
(_M_dispose, _M_reserve): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108372 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/mangle.c')
0 files changed, 0 insertions, 0 deletions

