Skip to content

Commit e575cf3

Browse files
author
git apple-llvm automerger
committed
Merge commit '84576c7b5d4f' from llvm.org/main into next
2 parents 424d221 + 84576c7 commit e575cf3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ class RuntimeDyldMachOX86_64
157157
processSubtractRelocation(unsigned SectionID, relocation_iterator RelI,
158158
const MachOObjectFile &BaseObj,
159159
ObjSectionToIDMap &ObjSectionToID) {
160-
const MachOObjectFile &Obj =
161-
static_cast<const MachOObjectFile&>(BaseObj);
160+
const MachOObjectFile &Obj = BaseObj;
162161
MachO::any_relocation_info RE =
163162
Obj.getRelocation(RelI->getRawDataRefImpl());
164163

0 commit comments

Comments
 (0)