Revert "Refactor the RelocVisitor::visit method"

This reverts commit faac033f73.

The test depends on all targets to be enabled in llc in order to pass,
and needs to be rewritten/refactored to not have that dependency.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218393 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Kaelyn Takata
2014-09-24 17:49:07 +00:00
parent c3a1f3e136
commit a0d6422afe
4 changed files with 98 additions and 144 deletions

View File

@ -925,8 +925,6 @@ unsigned ELFObjectFile<ELFT>::getArch() const {
default:
report_fatal_error("Invalid ELFCLASS!");
}
case ELF::EM_PPC:
return Triple::ppc;
case ELF::EM_PPC64:
return IsLittleEndian ? Triple::ppc64le : Triple::ppc64;
case ELF::EM_S390: