Remove dead code.

llvm-svn: 139343
This commit is contained in:
Benjamin Kramer 2011-09-09 00:22:05 +00:00
parent f2bd6a3984
commit eba0b40384
1 changed files with 0 additions and 8 deletions

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);
}