commit | 5dbe26aa8326068823cb9481972426dca151c3cc | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Dec 14 19:32:31 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Dec 14 19:32:31 2009 +0000 |
tree | 91a38d952e902d22a6ae052de8fb7dbc5774ffa1 | |
parent | 2d6e24935ebc8902bd9b22f73ba02fa31d60f8bb [diff] [blame] |
Micro-optimize these functions in the case where they are not inlined. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91316 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp index 31451cc..0c90e77 100644 --- a/lib/Support/raw_ostream.cpp +++ b/lib/Support/raw_ostream.cpp
@@ -209,8 +209,7 @@ } raw_ostream &raw_ostream::operator<<(double N) { - this->operator<<(ftostr(N)); - return *this; + return this->operator<<(ftostr(N)); }