diff options
| author | Gabor Greif <ggreif@gmail.com> | 2010-07-28 10:57:28 +0000 |
|---|---|---|
| committer | Gabor Greif <ggreif@gmail.com> | 2010-07-28 10:57:28 +0000 |
| commit | cda66112e2b1954d6c67bc15d334ecd310a28298 (patch) | |
| tree | f95b343395e6bce78fb0c66ce9ee6429eaa7c819 /lib | |
| parent | 617e3d612ecb10dc9cab3e898bc37fa0bded7267 (diff) | |
| download | external_llvm-cda66112e2b1954d6c67bc15d334ecd310a28298.zip external_llvm-cda66112e2b1954d6c67bc15d334ecd310a28298.tar.gz external_llvm-cda66112e2b1954d6c67bc15d334ecd310a28298.tar.bz2 | |
simplify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109578 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Analysis/CaptureTracking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/CaptureTracking.cpp b/lib/Analysis/CaptureTracking.cpp index 0478258..90eae20 100644 --- a/lib/Analysis/CaptureTracking.cpp +++ b/lib/Analysis/CaptureTracking.cpp @@ -69,7 +69,7 @@ bool llvm::PointerMayBeCaptured(const Value *V, switch (I->getOpcode()) { case Instruction::Call: case Instruction::Invoke: { - CallSite CS = CallSite::get(I); + CallSite CS(I); // Not captured if the callee is readonly, doesn't return a copy through // its return value and doesn't unwind (a readonly function can leak bits // by throwing an exception or not depending on the input value). |
