commit | 1cdaa3e5b1128bd9e62ad9b5084db8a44b897e88 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Nov 09 20:09:35 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Nov 09 20:09:35 2010 +0000 |
tree | 5cc48a14f4f65b27e17fea451f5873144c260513 | |
parent | 9423f633654af6045b1efa7795edfe8ea0533d7e [diff] [blame] |
VAArg doesn't capture its operand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118623 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/CaptureTracking.cpp b/lib/Analysis/CaptureTracking.cpp index 90eae20..42a54d9 100644 --- a/lib/Analysis/CaptureTracking.cpp +++ b/lib/Analysis/CaptureTracking.cpp
@@ -95,6 +95,9 @@ case Instruction::Load: // Loading from a pointer does not cause it to be captured. break; + case Instruction::VAArg: + // "va-arg" from a pointer does not cause it to be captured. + break; case Instruction::Ret: if (ReturnCaptures) return true;