[llvm-commits] [llvm] r109578 - /llvm/trunk/lib/Analysis/CaptureTracking.cpp
Gabor Greif
ggreif at gmail.com
Wed Jul 28 03:57:28 PDT 2010
Author: ggreif
Date: Wed Jul 28 05:57:28 2010
New Revision: 109578
URL: http://llvm.org/viewvc/llvm-project?rev=109578&view=rev
Log:
simplify
Modified:
llvm/trunk/lib/Analysis/CaptureTracking.cpp
Modified: llvm/trunk/lib/Analysis/CaptureTracking.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/CaptureTracking.cpp?rev=109578&r1=109577&r2=109578&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/CaptureTracking.cpp (original)
+++ llvm/trunk/lib/Analysis/CaptureTracking.cpp Wed Jul 28 05:57:28 2010
@@ -69,7 +69,7 @@
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).
More information about the llvm-commits
mailing list