diff options
| author | Yaron Keren <yaron.keren@gmail.com> | 2015-08-13 12:42:25 +0000 |
|---|---|---|
| committer | Yaron Keren <yaron.keren@gmail.com> | 2015-08-13 12:42:25 +0000 |
| commit | a3668a3fcd309d9178f1caa78a2c31156bcb7b4f (patch) | |
| tree | bb89227364c8b96280dcd0df62f4f8e725f41f54 /llvm/lib | |
| parent | 6153698f26ff8d96e5ca20785e681de3f2e1a68b (diff) | |
| download | bcm5719-llvm-a3668a3fcd309d9178f1caa78a2c31156bcb7b4f.tar.gz bcm5719-llvm-a3668a3fcd309d9178f1caa78a2c31156bcb7b4f.zip | |
Remove raw_svector_ostream::resync and users. It's no-op after r244870.
llvm-svn: 244888
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/IR/Type.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/MC/MCAsmStreamer.cpp | 5 | ||||
| -rw-r--r-- | llvm/lib/MC/MCDisassembler/Disassembler.cpp | 1 |
3 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/IR/Type.cpp b/llvm/lib/IR/Type.cpp index 7f65e941f91..fbcd887ec68 100644 --- a/llvm/lib/IR/Type.cpp +++ b/llvm/lib/IR/Type.cpp @@ -464,7 +464,6 @@ void StructType::setName(StringRef Name) { do { TempStr.resize(NameSize + 1); - TmpStream.resync(); TmpStream << getContext().pImpl->NamedStructTypesUniqueID++; IterBool = getContext().pImpl->NamedStructTypes.insert( diff --git a/llvm/lib/MC/MCAsmStreamer.cpp b/llvm/lib/MC/MCAsmStreamer.cpp index 6fdc08670f1..ae482a0fd00 100644 --- a/llvm/lib/MC/MCAsmStreamer.cpp +++ b/llvm/lib/MC/MCAsmStreamer.cpp @@ -259,9 +259,6 @@ void MCAsmStreamer::AddComment(const Twine &T) { T.toVector(CommentToEmit); // Each comment goes on its own line. CommentToEmit.push_back('\n'); - - // Tell the comment stream that the vector changed underneath it. - CommentStream.resync(); } void MCAsmStreamer::EmitCommentsAndEOL() { @@ -285,8 +282,6 @@ void MCAsmStreamer::EmitCommentsAndEOL() { } while (!Comments.empty()); CommentToEmit.clear(); - // Tell the comment stream that the vector changed underneath it. - CommentStream.resync(); } static inline int64_t truncateToSize(int64_t Value, unsigned Bytes) { diff --git a/llvm/lib/MC/MCDisassembler/Disassembler.cpp b/llvm/lib/MC/MCDisassembler/Disassembler.cpp index 716d76a79fe..f8260af53c9 100644 --- a/llvm/lib/MC/MCDisassembler/Disassembler.cpp +++ b/llvm/lib/MC/MCDisassembler/Disassembler.cpp @@ -147,7 +147,6 @@ static void emitComments(LLVMDisasmContext *DC, // Tell the comment stream that the vector changed underneath it. DC->CommentsToEmit.clear(); - DC->CommentStream.resync(); } /// \brief Gets latency information for \p Inst from the itinerary |

