diff options
author | Dan Gohman <gohman@apple.com> | 2009-12-14 19:32:31 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-12-14 19:32:31 +0000 |
commit | fd5de58ec13b2de5f278195376a947eb06547a54 (patch) | |
tree | 113f44331f3ccf5b3f40778e82902213aa6aaa2f /llvm/lib/Support | |
parent | d196a58b557ba388241547c06d76f3a30085f4fc (diff) | |
download | bcm5719-llvm-fd5de58ec13b2de5f278195376a947eb06547a54.tar.gz bcm5719-llvm-fd5de58ec13b2de5f278195376a947eb06547a54.zip |
Micro-optimize these functions in the case where they are not inlined.
llvm-svn: 91316
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/raw_ostream.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Support/raw_ostream.cpp b/llvm/lib/Support/raw_ostream.cpp index 31451ccfdb1..0c90e7720bf 100644 --- a/llvm/lib/Support/raw_ostream.cpp +++ b/llvm/lib/Support/raw_ostream.cpp @@ -209,8 +209,7 @@ raw_ostream &raw_ostream::operator<<(const void *P) { } raw_ostream &raw_ostream::operator<<(double N) { - this->operator<<(ftostr(N)); - return *this; + return this->operator<<(ftostr(N)); } |