[MCJIT] Remove redundant architecture check from RuntimeDyldMachOI386.

llvm-svn: 217470
This commit is contained in:
Lang Hames 2014-09-10 00:13:42 +00:00
parent b8169f9e8f
commit 9bfbe6b346

View File

@ -44,7 +44,7 @@ public:
RelType == MachO::GENERIC_RELOC_LOCAL_SECTDIFF)
return processSECTDIFFRelocation(SectionID, RelI, ObjImg,
ObjSectionToID);
else if (Arch == Triple::x86 && RelType == MachO::GENERIC_RELOC_VANILLA)
else if (RelType == MachO::GENERIC_RELOC_VANILLA)
return processI386ScatteredVANILLA(SectionID, RelI, ObjImg,
ObjSectionToID);
llvm_unreachable("Unhandled scattered relocation.");