summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCMachOStreamer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-05-27 15:14:11 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-05-27 15:14:11 +0000
commita32d0e9ec0127d83c44c1d06c2fbf19fd8bfe96c (patch)
tree0b4edc3d72171b44b7aa4d9ffc21a184b32eeba6 /llvm/lib/MC/MCMachOStreamer.cpp
parent2b216959023dba8b93595140f312f042119c6547 (diff)
downloadbcm5719-llvm-a32d0e9ec0127d83c44c1d06c2fbf19fd8bfe96c.tar.gz
bcm5719-llvm-a32d0e9ec0127d83c44c1d06c2fbf19fd8bfe96c.zip
Delete MCSectionData.
llvm-svn: 238331
Diffstat (limited to 'llvm/lib/MC/MCMachOStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCMachOStreamer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCMachOStreamer.cpp b/llvm/lib/MC/MCMachOStreamer.cpp
index 011db484751..629734036f5 100644
--- a/llvm/lib/MC/MCMachOStreamer.cpp
+++ b/llvm/lib/MC/MCMachOStreamer.cpp
@@ -479,8 +479,8 @@ void MCMachOStreamer::FinishImpl() {
for (MCAssembler::iterator it = getAssembler().begin(),
ie = getAssembler().end(); it != ie; ++it) {
const MCSymbol *CurrentAtom = nullptr;
- for (MCSectionData::iterator it2 = it->begin(),
- ie2 = it->end(); it2 != ie2; ++it2) {
+ for (MCSection::iterator it2 = it->begin(), ie2 = it->end(); it2 != ie2;
+ ++it2) {
if (const MCSymbol *Symbol = DefiningSymbolMap.lookup(it2))
CurrentAtom = Symbol;
it2->setAtom(CurrentAtom);
OpenPOWER on IntegriCloud