aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-28 09:24:53 +0000
committerChris Lattner <sabre@nondot.org>2009-12-28 09:24:53 +0000
commitc6d17e29dfd6e603ba64fda201814124346775bd (patch)
tree88fc8e2f3ec985afee5dc01b86316c9aa5ae8101 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentf543eff71c557c13ccda914e7d70d4c214ba433c (diff)
downloadllvm-c6d17e29dfd6e603ba64fda201814124346775bd.zip
llvm-c6d17e29dfd6e603ba64fda201814124346775bd.tar.gz
llvm-c6d17e29dfd6e603ba64fda201814124346775bd.tar.bz2
Eliminate two bits of ugliness in MDNode::replaceElement:
eliminate the temporary smallvector, and only do FindNodeOrInsertPos twice if the first one succeeds and we delete a node. llvm-svn: 92220
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions