Skip to content

Commit 92a3439

Browse files
kazutakahiratakrishna2803
authored andcommitted
[ExecutionEngine] Remove an unnecessary cast (NFC) (llvm#151798)
value() already returns uint64_t.
1 parent f9ebba1 commit 92a3439

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)