summaryrefslogtreecommitdiff
path: root/lib/MC/MCSection.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-10 00:13:11 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-10 00:13:11 +0000
commit5d8fcb9d71041be14fe962efeaf7a9fc6bae8267 (patch)
tree8cd7d3b81ebf15a02cb839360b34e2d07299369c /lib/MC/MCSection.cpp
parent3d5fd2a768c5e5456d8ab19cab037490f4bdf8f9 (diff)
MC: Remove implicit ilist iterator conversions, NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCSection.cpp')
-rw-r--r--lib/MC/MCSection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCSection.cpp b/lib/MC/MCSection.cpp
index e0d29bbd660..dbd544a44ce 100644
--- a/lib/MC/MCSection.cpp
+++ b/lib/MC/MCSection.cpp
@@ -72,7 +72,7 @@ MCSection::getSubsectionInsertionPoint(unsigned Subsection) {
if (MI == SubsectionFragmentMap.end())
IP = end();
else
- IP = MI->second;
+ IP = MI->second->getIterator();
if (!ExactMatch && Subsection != 0) {
// The GNU as documentation claims that subsections have an alignment of 4,
// although this appears not to be the case.