Skip to content

Commit 2acd4b3

Browse files
kazutakahiratagithub-actions[bot]
authored andcommitted
Automerge: [ExecutionEngine] Remove an unnecessary cast (NFC) (#152836)
getValue() already returns uint64_t.
2 parents 0c3e305 + 39941a2 commit 2acd4b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/ExecutionEngine/Orc/EPCIndirectionUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Error EPCIndirectStubsManager::createStubs(const StubInitsMap &StubInits) {
169169
std::vector<tpctypes::UInt64Write> PtrUpdates;
170170
for (auto &SI : StubInits)
171171
PtrUpdates.push_back({(*AvailableStubInfos)[ASIdx++].PointerAddress,
172-
static_cast<uint64_t>(SI.second.first.getValue())});
172+
SI.second.first.getValue()});
173173
return MemAccess.writeUInt64s(PtrUpdates);
174174
}
175175
default:

0 commit comments

Comments
 (0)