projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9423f63
)
VAArg doesn't capture its operand.
author
Dan Gohman
<gohman@apple.com>
Tue, 9 Nov 2010 20:09:35 +0000
(20:09 +0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 9 Nov 2010 20:09:35 +0000
(20:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118623
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/CaptureTracking.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/CaptureTracking.cpp
b/lib/Analysis/CaptureTracking.cpp
index 90eae20858fb9546d5f2564436d7ab7b059880bd..42a54d9d1eb3adba766363cf2ef38765a12055b9 100644
(file)
--- a/
lib/Analysis/CaptureTracking.cpp
+++ b/
lib/Analysis/CaptureTracking.cpp
@@
-95,6
+95,9
@@
bool llvm::PointerMayBeCaptured(const Value *V,
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;