MC: Remove implicit ilist iterator conversions, NFC
llvm-svn: 249922
diff --git a/llvm/lib/MC/MCSection.cpp b/llvm/lib/MC/MCSection.cpp
index e0d29bb..dbd544a 100644
--- a/llvm/lib/MC/MCSection.cpp
+++ b/llvm/lib/MC/MCSection.cpp
@@ -72,7 +72,7 @@
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.