Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
ragusaa committed Apr 9, 2024
1 parent a7eb4fd commit 6cb91f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libclambcc/ClamBCUtilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ void gatherCallsToIntrinsic(Function *pFunc, const char *const functionName, std
for (auto bi = pBB->begin(), be = pBB->end(); bi != be; bi++) {
if (CallInst *pci = llvm::dyn_cast<CallInst>(bi)) {
Function *pCalled = pci->getCalledFunction();
if (pCalled->isIntrinsic()) {
if (pCalled && pCalled->isIntrinsic()) {
if (functionName == pCalled->getName()) {
calls.push_back(pci);
}
Expand Down

0 comments on commit 6cb91f9

Please sign in to comment.