[llvm] r217470 - [MCJIT] Remove redundant architecture check from RuntimeDyldMachOI386.
Lang Hames
lhames at gmail.com
Tue Sep 9 17:13:42 PDT 2014
Author: lhames
Date: Tue Sep 9 19:13:42 2014
New Revision: 217470
URL: http://llvm.org/viewvc/llvm-project?rev=217470&view=rev
Log:
[MCJIT] Remove redundant architecture check from RuntimeDyldMachOI386.
Modified:
llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h
Modified: llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h?rev=217470&r1=217469&r2=217470&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h (original)
+++ llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h Tue Sep 9 19:13:42 2014
@@ -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.");
More information about the llvm-commits
mailing list