llvm-svn: 109578
This commit is contained in:
Gabor Greif 2010-07-28 10:57:28 +00:00
parent 2e2503cd8d
commit 7cf6056484
1 changed files with 1 additions and 1 deletions

View File

@ -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).