Uglify C++ headers some more.

libstdc++-v3/:
	* include/ext/throw_allocator.h
	(hash<__gnu_cxx::throw_value_limit>::operator()): Uglify local.
	(hash<__gnu_cxx::throw_value_random>::operator()): Likewise.
	* include/parallel/set_operations.h (__symmetric_difference_func):
	Uglify remaining arguments to __count, __first_empty, _M_invoke.
	(__difference_func): Likewise for __count.
	* include/profile/impl/profiler_node.h
	(__object_info_base::__write): Uglify parameter.

From-SVN: r164411
This commit is contained in:
Ralf Wildenhues 2010-09-19 09:44:24 +00:00 committed by Ralf Wildenhues
parent 61e60481d0
commit 6e687a9ad7
4 changed files with 25 additions and 14 deletions

View File

@ -1,3 +1,14 @@
2010-09-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* include/ext/throw_allocator.h
(hash<__gnu_cxx::throw_value_limit>::operator()): Uglify local.
(hash<__gnu_cxx::throw_value_random>::operator()): Likewise.
* include/parallel/set_operations.h (__symmetric_difference_func):
Uglify remaining arguments to __count, __first_empty, _M_invoke.
(__difference_func): Likewise for __count.
* include/profile/impl/profiler_node.h
(__object_info_base::__write): Uglify parameter.
2010-09-19 Paolo Carlini <paolo.carlini@oracle.com> 2010-09-19 Paolo Carlini <paolo.carlini@oracle.com>
* src/hash_bytes.cc: Compile load_bytes and shift_mix only when * src/hash_bytes.cc: Compile load_bytes and shift_mix only when

View File

@ -737,8 +737,8 @@ namespace std
size_t size_t
operator()(const __gnu_cxx::throw_value_limit& __val) const operator()(const __gnu_cxx::throw_value_limit& __val) const
{ {
std::hash<std::size_t> h; std::hash<std::size_t> __h;
size_t __result = h(__val._M_i); size_t __result = __h(__val._M_i);
return __result; return __result;
} }
}; };
@ -751,8 +751,8 @@ namespace std
size_t size_t
operator()(const __gnu_cxx::throw_value_random& __val) const operator()(const __gnu_cxx::throw_value_random& __val) const
{ {
std::hash<std::size_t> h; std::hash<std::size_t> __h;
size_t __result = h(__val._M_i); size_t __result = __h(__val._M_i);
return __result; return __result;
} }
}; };

View File

@ -103,11 +103,11 @@ namespace __gnu_parallel
} }
_DifferenceType _DifferenceType
__count(_IIter __a, _IIter __b, _IIter __c, _IIter d) const __count(_IIter __a, _IIter __b, _IIter __c, _IIter __d) const
{ {
_DifferenceType __counter = 0; _DifferenceType __counter = 0;
while (__a != __b && __c != d) while (__a != __b && __c != __d)
{ {
if (_M_comp(*__a, *__c)) if (_M_comp(*__a, *__c))
{ {
@ -126,12 +126,12 @@ namespace __gnu_parallel
} }
} }
return __counter + (__b - __a) + (d - __c); return __counter + (__b - __a) + (__d - __c);
} }
_OutputIterator _OutputIterator
__first_empty(_IIter __c, _IIter d, _OutputIterator __out) const __first_empty(_IIter __c, _IIter __d, _OutputIterator __out) const
{ return std::copy(__c, d, __out); } { return std::copy(__c, __d, __out); }
_OutputIterator _OutputIterator
__second_empty(_IIter __a, _IIter __b, _OutputIterator __out) const __second_empty(_IIter __a, _IIter __b, _OutputIterator __out) const
@ -153,10 +153,10 @@ namespace __gnu_parallel
_Compare _M_comp; _Compare _M_comp;
_OutputIterator _OutputIterator
_M_invoke(_IIter __a, _IIter __b, _IIter __c, _IIter d, _M_invoke(_IIter __a, _IIter __b, _IIter __c, _IIter __d,
_OutputIterator __r) const _OutputIterator __r) const
{ {
while (__a != __b && __c != d) while (__a != __b && __c != __d)
{ {
if (_M_comp(*__a, *__c)) if (_M_comp(*__a, *__c))
{ {
@ -177,11 +177,11 @@ namespace __gnu_parallel
_DifferenceType _DifferenceType
__count(_IIter __a, _IIter __b, __count(_IIter __a, _IIter __b,
_IIter __c, _IIter d) const _IIter __c, _IIter __d) const
{ {
_DifferenceType __counter = 0; _DifferenceType __counter = 0;
while (__a != __b && __c != d) while (__a != __b && __c != __d)
{ {
if (_M_comp(*__a, *__c)) if (_M_comp(*__a, *__c))
{ {

View File

@ -148,7 +148,7 @@ namespace __gnu_profile
__stack() const __stack() const
{ return _M_stack; } { return _M_stack; }
virtual void __write(FILE* f) const = 0; virtual void __write(FILE* __f) const = 0;
protected: protected:
__stack_t _M_stack; __stack_t _M_stack;