diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-05-27 13:37:28 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-05-27 13:37:28 +0000 |
commit | 8c05c6e28bfb05da8971e203233ae993364d6bfb (patch) | |
tree | 42c1263099ad8d4b4972e2f475279eb3e9b15b12 /llvm/lib/MC/MCObjectStreamer.cpp | |
parent | 9c9ecce0770b3cc9f2237a28a7080553ec61bcb1 (diff) | |
download | bcm5719-llvm-8c05c6e28bfb05da8971e203233ae993364d6bfb.tar.gz bcm5719-llvm-8c05c6e28bfb05da8971e203233ae993364d6bfb.zip |
Move getSubsectionInsertionPoint to MCSection.
llvm-svn: 238320
Diffstat (limited to 'llvm/lib/MC/MCObjectStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCObjectStreamer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |