Perform simplification noticed by Reid.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77477 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2009-07-29 17:29:36 +00:00
parent 28bc9d8826
commit 89ae98cb76

View File

@ -93,10 +93,6 @@ raw_ostream &raw_ostream::operator<<(unsigned long long N) {
if (N == static_cast<unsigned long>(N))
return this->operator<<(static_cast<unsigned long>(N));
// Zero is a special case.
if (N == 0)
return *this << '0';
char NumberBuffer[20];
char *EndPtr = NumberBuffer+sizeof(NumberBuffer);
char *CurPtr = EndPtr;