rename getNonLocalDependency -> getNonLocalCallDependency, and remove

pointer stuff from it, simplifying the code a bit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60783 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2008-12-09 19:38:05 +00:00
parent 91bcf6450a
commit 1559b3625b
3 changed files with 26 additions and 52 deletions

View File

@ -490,7 +490,7 @@ uint32_t ValueTable::lookup_or_add(Value* V) {
// Non-local case.
const MemoryDependenceAnalysis::NonLocalDepInfo &deps =
MD->getNonLocalDependency(C);
MD->getNonLocalCallDependency(CallSite(C));
// FIXME: call/call dependencies for readonly calls should return def, not
// clobber! Move the checking logic to MemDep!
CallInst* cdep = 0;