diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-15 02:01:04 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-15 02:01:04 +0000 |
commit | a4a68c1b439af1bacf8b9c3c06cdb97f56be4d94 (patch) | |
tree | 67108203d7d02460932d62cf51d114e2aab17135 /include/llvm/Support/FormattedStream.h | |
parent | 1486ef96ed8eb364467f5261887514114af1e39e (diff) |
Move FormattedStream's write_impl out of line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/FormattedStream.h')
-rw-r--r-- | include/llvm/Support/FormattedStream.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/llvm/Support/FormattedStream.h b/include/llvm/Support/FormattedStream.h index a74ee6f7d9..a7824f0aae 100644 --- a/include/llvm/Support/FormattedStream.h +++ b/include/llvm/Support/FormattedStream.h @@ -60,11 +60,7 @@ namespace llvm /// iterator Scanned; - virtual void write_impl(const char *Ptr, size_t Size) { - ComputeColumn(); - TheStream->write(Ptr, Size); - Scanned = begin(); - } + virtual void write_impl(const char *Ptr, size_t Size); /// current_pos - Return the current position within the stream, /// not counting the bytes currently in the buffer. |