projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
756f0d2
)
simplify
author
Gabor Greif
<ggreif@gmail.com>
Wed, 28 Jul 2010 10:46:09 +0000
(10:46 +0000)
committer
Gabor Greif
<ggreif@gmail.com>
Wed, 28 Jul 2010 10:46:09 +0000
(10:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109577
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/AliasSetTracker.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/AliasSetTracker.cpp
b/lib/Analysis/AliasSetTracker.cpp
index b14043e58290c35fdcc40568580077b254999aa6..8581f5911d9dbd3e866bca413ade92b505246ed7 100644
(file)
--- a/
lib/Analysis/AliasSetTracker.cpp
+++ b/
lib/Analysis/AliasSetTracker.cpp
@@
-456,8
+456,7
@@
void AliasSetTracker::deleteValue(Value *PtrVal) {
// If this is a call instruction, remove the callsite from the appropriate
// AliasSet.
- CallSite CS = CallSite::get(PtrVal);
- if (CS.getInstruction())
+ if (CallSite CS = PtrVal)
if (!AA.doesNotAccessMemory(CS))
if (AliasSet *AS = findAliasSetForCallSite(CS))
AS->removeCallSite(CS);