diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-22 15:58:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-22 15:58:46 +0000 |
commit | 9faf18d523dd161aa88d235c591e0dfb89f59d88 (patch) | |
tree | b74e88938b18bc8ce95b6b3a3f6e89f8887e98ba /lib/Analysis/DataStructure/BottomUpClosure.cpp | |
parent | 3ec9a0a5cff423cab774cdbf28f0e68b6ca1ea17 (diff) |
The callee is not correct, and confuses the TD pass. Null it out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/BottomUpClosure.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/BottomUpClosure.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index 6d1a575e6b..671863e1b9 100644 --- a/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp @@ -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, |