Skip to content
Commit b090bf46 authored by Daniel Dunbar's avatar Daniel Dunbar
Browse files

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.

llvm-svn: 79434
parent 825e955e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment