summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CaptureTracking.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-07-28 10:57:28 +0000
committerGabor Greif <ggreif@gmail.com>2010-07-28 10:57:28 +0000
commit7cf6056484423efa4350db34c79abe203667dff7 (patch)
tree7cad10213fc3fc79234e4913220362893f129900 /llvm/lib/Analysis/CaptureTracking.cpp
parent2e2503cd8d857c19402d9d0b7dfb539b9a8f0c85 (diff)
downloadbcm5719-llvm-7cf6056484423efa4350db34c79abe203667dff7.tar.gz
bcm5719-llvm-7cf6056484423efa4350db34c79abe203667dff7.zip
simplify
llvm-svn: 109578
Diffstat (limited to 'llvm/lib/Analysis/CaptureTracking.cpp')
-rw-r--r--llvm/lib/Analysis/CaptureTracking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/CaptureTracking.cpp b/llvm/lib/Analysis/CaptureTracking.cpp
index 047825884ef..90eae20858f 100644
--- a/llvm/lib/Analysis/CaptureTracking.cpp
+++ b/llvm/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).
OpenPOWER on IntegriCloud