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:
parent
357342a9b8
commit
ebeb34d412
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user