diff options
| author | Victor Hernandez <vhernandez@apple.com> | 2009-10-23 21:09:37 +0000 |
|---|---|---|
| committer | Victor Hernandez <vhernandez@apple.com> | 2009-10-23 21:09:37 +0000 |
| commit | 8acf2956b8b47596103517e024acc8e686c17353 (patch) | |
| tree | b7f3e36b0d915c2125c7094ea8af3b06e5c47c3c /llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | |
| parent | 9a14b84ac559e85672ce9c463eba7bf23ba4b6a2 (diff) | |
| download | bcm5719-llvm-8acf2956b8b47596103517e024acc8e686c17353.tar.gz bcm5719-llvm-8acf2956b8b47596103517e024acc8e686c17353.zip | |
Remove AllocationInst. Since MallocInst went away, AllocaInst is the only subclass of AllocationInst, so it no longer is necessary.
llvm-svn: 84969
Diffstat (limited to 'llvm/lib/Analysis/MemoryDependenceAnalysis.cpp')
| -rw-r--r-- | llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp index d6400757a51..c3aa5bc9306 100644 --- a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp +++ b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp @@ -229,7 +229,7 @@ getPointerDependencyFrom(Value *MemPtr, uint64_t MemSize, bool isLoad, // a subsequent bitcast of the malloc call result. There can be stores to // the malloced memory between the malloc call and its bitcast uses, and we // need to continue scanning until the malloc call. - if (isa<AllocationInst>(Inst) || extractMallocCall(Inst)) { + if (isa<AllocaInst>(Inst) || extractMallocCall(Inst)) { Value *AccessPtr = MemPtr->getUnderlyingObject(); if (AccessPtr == Inst || |

