Remove dead code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2011-09-09 00:22:05 +00:00
parent 58856eae16
commit d40b0b0a06

View File

@ -104,14 +104,6 @@ MachOObjectFile::MachOObjectFile(MemoryBuffer *Object, MachOObject *MOO,
uint32_t LoadCommandCount = MachOObj->getHeader().NumLoadCommands;
while (DRI.d.a < LoadCommandCount) {
Sections.push_back(DRI);
uint64_t Addr;
uint64_t Size;
StringRef Name;
getSectionAddress(DRI, Addr);
getSectionSize(DRI, Size);
getSectionName(DRI, Name);
InMemoryStruct<macho::Section> Sect;
getSection(DRI, Sect);
DRI.d.b++;
moveToNextSection(DRI);
}