From 8c05c6e28bfb05da8971e203233ae993364d6bfb Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 27 May 2015 13:37:28 +0000 Subject: Move getSubsectionInsertionPoint to MCSection. llvm-svn: 238320 --- llvm/lib/MC/MCObjectStreamer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/MC/MCObjectStreamer.cpp') diff --git a/llvm/lib/MC/MCObjectStreamer.cpp b/llvm/lib/MC/MCObjectStreamer.cpp index c1b20717db3..18d2b66b2ae 100644 --- a/llvm/lib/MC/MCObjectStreamer.cpp +++ b/llvm/lib/MC/MCObjectStreamer.cpp @@ -221,8 +221,7 @@ bool MCObjectStreamer::changeSectionImpl(MCSection *Section, if (IntSubsection < 0 || IntSubsection > 8192) report_fatal_error("Subsection number out of range"); CurInsertionPoint = - CurSectionData->getSectionData().getSubsectionInsertionPoint( - unsigned(IntSubsection)); + CurSectionData->getSubsectionInsertionPoint(unsigned(IntSubsection)); return Created; } -- cgit v1.2.3