[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 1bebb2832e
commit 0ae7980c90
1 changed files with 1 additions and 1 deletions

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.");