commit | 1220e10f70f89e0f8082344646d79805edf9025d | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Wed Aug 12 20:56:03 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Wed Aug 12 20:56:03 2009 +0000 |
tree | 67163b03dd31306ee1ef6c8644e3cbaed0076f56 | |
parent | f3e488476e1bdfe9de6daddcd1cd452c9d874b56 [diff] |
Make AsmWriter more careful with formatted_raw_ostream so that it doesn't leave the underlying stream in unbuffered mode when the stream was originally buffered. Also, change WriteAsOperand back to plain raw_ostream. This lets it work for either formatted_raw_ostream or plain raw_ostream, so that it doesn't have to force a buffer flush on a plain raw_ostream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78837 91177308-0d34-0410-b5e6-96231b3b80d8