[CallSite removal][PtrUseVisitor] Use visitCallBase instead of visitCallSite. NFC

This commit is contained in:
Craig Topper 2020-04-18 23:14:59 -07:00
parent a310da85cb
commit 2a58271158
1 changed files with 3 additions and 3 deletions

View File

@ -295,9 +295,9 @@ protected:
// Generically, arguments to calls and invokes escape the pointer to some
// other function. Mark that.
void visitCallSite(CallSite CS) {
PI.setEscaped(CS.getInstruction());
Base::visitCallSite(CS);
void visitCallBase(CallBase &CB) {
PI.setEscaped(&CB);
Base::visitCallBase(CB);
}
};