1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

VAArg doesn't capture its operand.

llvm-svn: 118623
This commit is contained in:
Dan Gohman 2010-11-09 20:09:35 +00:00
parent 357342a9b8
commit ebeb34d412

View File

@ -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;