From: Daniel Dunbar Date: Wed, 29 Jul 2009 17:29:36 +0000 (+0000) Subject: Perform simplification noticed by Reid. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=89ae98cb768bbfe78bc8edfd025f753f88a6df07;p=oota-llvm.git Perform simplification noticed by Reid. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77477 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp index d2d0f4ef2a2..20e50efd2cc 100644 --- a/lib/Support/raw_ostream.cpp +++ b/lib/Support/raw_ostream.cpp @@ -93,10 +93,6 @@ raw_ostream &raw_ostream::operator<<(unsigned long long N) { if (N == static_cast(N)) return this->operator<<(static_cast(N)); - // Zero is a special case. - if (N == 0) - return *this << '0'; - char NumberBuffer[20]; char *EndPtr = NumberBuffer+sizeof(NumberBuffer); char *CurPtr = EndPtr;