The callee is not correct, and confuses the TD pass. Null it out.

llvm-svn: 4259
This commit is contained in:
Chris Lattner 2002-10-22 15:58:46 +00:00
parent 96c998fb19
commit d90e74ae13
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
std::vector<DSCallSite> &CallSitesForFunc = CallSites[&FI];
CallSitesForFunc.push_back(Call);
CallSitesForFunc.back().setResolvingCaller(&F);
CallSitesForFunc.back().setCallee(0);
// Clone the callee's graph into the current graph, keeping
// track of where scalars in the old graph _used_ to point,