projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28bc9d8
)
Perform simplification noticed by Reid.
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 29 Jul 2009 17:29:36 +0000
(17:29 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 29 Jul 2009 17:29:36 +0000
(17:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77477
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/raw_ostream.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/raw_ostream.cpp
b/lib/Support/raw_ostream.cpp
index d2d0f4ef2a2bbbe0c3152ae0b8c54703ba46f694..20e50efd2cc69b729fbefe02f1fde1f414e4008e 100644
(file)
--- 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;