summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-03-13 16:10:42 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-03-13 16:10:42 +0000
commit1553727ed377d593f54ffbe464de81b386034f5f (patch)
tree975c291501b36dd87b5b419c8de1a402faa899c3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentf11625d131f90ec605773040f797d3b1596b1f01 (diff)
downloadbcm5719-llvm-1553727ed377d593f54ffbe464de81b386034f5f.tar.gz
bcm5719-llvm-1553727ed377d593f54ffbe464de81b386034f5f.zip
Sema: Replace the SetVector/DenseMap/std::sort combination with a simple std::map
This guarantees the order and doesn't increase malloc counts a lot as there are typically very few elements int the map. Provide a little iterator adapter to keep the same interface as we had with the flat sorted list. No functional change intended. llvm-svn: 232173
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud