diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-04-18 20:54:46 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-04-18 20:54:46 +0000 |
commit | b2545fbc2a85cd8feca55051626cfc76e30d7f3e (patch) | |
tree | 38fed98c1c32599ea082320c425f3d5c4db328df /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 17740e70d5584c3a36db94b587d152484bdd2a19 (diff) | |
download | llvm-b2545fbc2a85cd8feca55051626cfc76e30d7f3e.zip llvm-b2545fbc2a85cd8feca55051626cfc76e30d7f3e.tar.gz llvm-b2545fbc2a85cd8feca55051626cfc76e30d7f3e.tar.bz2 |
malloc elimination: it's a bad idea to use raw_svector_ostream on a
small heap-allocated SmallString because it unconditionally forces a malloc.
(Revised version of r129688, with the necessary flush() call.)
llvm-svn: 129716
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions