Skip to content

Commit b04968c

Browse files
[ExecutionEngine] Remove an unnecessary cast (NFC) (llvm#151798)
value() already returns uint64_t.
1 parent 7e99271 commit b04968c

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)