commit | 425d08c654c7893782b1215f9b2715bc1d90bd07 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Wed Aug 19 17:54:29 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Wed Aug 19 17:54:29 2009 +0000 |
tree | d49acf322133866d49b89f7145bab83860305af3 | |
parent | c2da6fb3e50902daf670fe83b8b017a2bcba05df [diff] |
Switch raw_svector_ostream to use the vector as the ostream buffer. - This avoids unnecessary malloc/free overhead in the common case, and unnecessary copying from the ostream buffer into the output vector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79434 91177308-0d34-0410-b5e6-96231b3b80d8