[MCJIT] Remove redundant architecture check from RuntimeDyldMachOI386.
authorLang Hames <lhames@gmail.com>
Wed, 10 Sep 2014 00:13:42 +0000 (00:13 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 10 Sep 2014 00:13:42 +0000 (00:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217470 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h

index a743ec69717185590143381c804074a2dc970a41..2c111c825965a48d23d446ef9a9f8361e265dbcd 100644 (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.");