Skip to content

Commit 22d1455

Browse files
kazutakahiratagithub-actions[bot]
authored andcommitted
Automerge: [ExecutionEngine] Remove an unnecessary cast (NFC) (#151798)
value() already returns uint64_t.
2 parents 25f4a76 + b04968c commit 22d1455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ RuntimeDyldImpl::emitSection(const ObjectFile &Obj,
891891
// Align DataSize to stub alignment if we have any stubs (PaddingSize will
892892
// have been increased above to account for this).
893893
if (StubBufSize > 0)
894-
DataSize &= -(uint64_t)getStubAlignment().value();
894+
DataSize &= -getStubAlignment().value();
895895
}
896896

897897
LLVM_DEBUG(dbgs() << "emitSection SectionID: " << SectionID << " Name: "

0 commit comments

Comments
 (0)