From 89ae98cb768bbfe78bc8edfd025f753f88a6df07 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 29 Jul 2009 17:29:36 +0000 Subject: Perform simplification noticed by Reid. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77477 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/raw_ostream.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/Support/raw_ostream.cpp') diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp index d2d0f4e..20e50ef 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; -- cgit v1.1