diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-29 17:29:36 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-29 17:29:36 +0000 |
commit | 89ae98cb768bbfe78bc8edfd025f753f88a6df07 (patch) | |
tree | 1bc5682bf1995b167486f3dd261a2b9fb1734a8e | |
parent | 28bc9d88260a3e153ead4311c9129e3d3ad07736 (diff) | |
download | external_llvm-89ae98cb768bbfe78bc8edfd025f753f88a6df07.zip external_llvm-89ae98cb768bbfe78bc8edfd025f753f88a6df07.tar.gz external_llvm-89ae98cb768bbfe78bc8edfd025f753f88a6df07.tar.bz2 |
Perform simplification noticed by Reid.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77477 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Support/raw_ostream.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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<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; |