From 59a60c57a62a00bb6b3e2538565342bc0ffb1f39 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 29 Jul 2009 17:29:36 +0000 Subject: [PATCH] Perform simplification noticed by Reid. llvm-svn: 77477 --- llvm/lib/Support/raw_ostream.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/llvm/lib/Support/raw_ostream.cpp b/llvm/lib/Support/raw_ostream.cpp index d2d0f4ef2a2b..20e50efd2cc6 100644 --- a/llvm/lib/Support/raw_ostream.cpp +++ b/llvm/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;