forked from OSchip/llvm-project
[MCJIT] Remove redundant architecture check from RuntimeDyldMachOI386.
llvm-svn: 217470
This commit is contained in:
parent
1bebb2832e
commit
0ae7980c90
|
@ -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.");
|
||||
|
|
Loading…
Reference in New Issue