Searched refs:OldCall (Results 1 – 1 of 1) sorted by relevance
1980 Instruction *OldCall = CS.getInstruction(); in visitCallSite() local1983 OldCall); in visitCallSite()1986 if (!OldCall->getType()->isVoidTy()) in visitCallSite()1987 ReplaceInstUsesWith(*OldCall, UndefValue::get(OldCall->getType())); in visitCallSite()1988 if (isa<CallInst>(OldCall)) in visitCallSite()1989 return EraseInstFromFunction(*OldCall); in visitCallSite()1993 cast<InvokeInst>(OldCall)->setCalledFunction( in visitCallSite()