summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-03-26 03:35:38 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-03-26 03:35:38 +0000
commit385cf28829a30fa2dfb5b1dbb921ddae298debb2 (patch)
treeced714de71cbb1fe2937c732394c86e985921a99 /llvm/lib/Bitcode/Writer
parent11598143f4f53335eded50ce687d1489c8f38cea (diff)
downloadbcm5719-llvm-385cf28829a30fa2dfb5b1dbb921ddae298debb2.tar.gz
bcm5719-llvm-385cf28829a30fa2dfb5b1dbb921ddae298debb2.zip
Rename ModuleSummaryIndex::modPathStringEntries() into modulePaths()
It now return the map instead of an iterator. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264489
Diffstat (limited to 'llvm/lib/Bitcode/Writer')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index 1d6054da79e..8284d55cefc 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -2827,7 +2827,7 @@ static void WriteModStrings(const ModuleSummaryIndex &I,
unsigned Abbrev6Bit = Stream.EmitAbbrev(Abbv);
SmallVector<unsigned, 64> NameVals;
- for (const StringMapEntry<uint64_t> &MPSE : I.modPathStringEntries()) {
+ for (const StringMapEntry<uint64_t> &MPSE : I.modulePaths()) {
StringEncoding Bits =
getStringEncoding(MPSE.getKey().data(), MPSE.getKey().size());
unsigned AbbrevToUse = Abbrev8Bit;
OpenPOWER on IntegriCloud