r113526 introduced an unintended change to the loop unrolling threshold. Revert it.
[oota-llvm.git] / lib / Analysis / CaptureTracking.cpp
index 047825884ef357af0d2791fe18722e3a91d0500b..90eae20858fb9546d5f2564436d7ab7b059880bd 100644 (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).