Skip to content

Commit 65436a4

Browse files
Update llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Co-authored-by: Nikita Popov <[email protected]>
1 parent ac42dbb commit 65436a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3542,7 +3542,7 @@ void ModuleCallsiteContextGraph::updateAllocationCall(
35423542

35433543
void IndexCallsiteContextGraph::updateAllocationCall(CallInfo &Call,
35443544
AllocationType AllocType) {
3545-
auto *AI = dyn_cast<AllocInfo *>(Call.call());
3545+
auto *AI = cast<AllocInfo *>(Call.call());
35463546
assert(AI);
35473547
assert(AI->Versions.size() > Call.cloneNo());
35483548
AI->Versions[Call.cloneNo()] = (uint8_t)AllocType;

0 commit comments

Comments
 (0)