Skip to content

Commit dae5f7d

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

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
@@ -3579,7 +3579,7 @@ void ModuleCallsiteContextGraph::updateCall(CallInfo &CallerCall,
35793579

35803580
void IndexCallsiteContextGraph::updateCall(CallInfo &CallerCall,
35813581
FuncInfo CalleeFunc) {
3582-
auto *CI = dyn_cast<CallsiteInfo *>(CallerCall.call());
3582+
auto *CI = cast<CallsiteInfo *>(CallerCall.call());
35833583
assert(CI &&
35843584
"Caller cannot be an allocation which should not have profiled calls");
35853585
assert(CI->Clones.size() > CallerCall.cloneNo());

0 commit comments

Comments
 (0)