mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Commit AttributeList change that was supposed to be part of r303654
llvm-svn: 303656
This commit is contained in:
parent
8018dd8b34
commit
00a53135b8
@ -454,7 +454,7 @@ bool CallInst::dataOperandHasImpliedAttr(unsigned i,
|
|||||||
// question is a call argument; or be indirectly implied by the kind of its
|
// question is a call argument; or be indirectly implied by the kind of its
|
||||||
// containing operand bundle, if the operand is a bundle operand.
|
// containing operand bundle, if the operand is a bundle operand.
|
||||||
|
|
||||||
if (i == Attribute::ReturnIndex)
|
if (i == AttributeList::ReturnIndex)
|
||||||
return hasRetAttr(Kind);
|
return hasRetAttr(Kind);
|
||||||
|
|
||||||
// FIXME: Avoid these i - 1 calculations and update the API to use zero-based
|
// FIXME: Avoid these i - 1 calculations and update the API to use zero-based
|
||||||
@ -782,7 +782,7 @@ bool InvokeInst::dataOperandHasImpliedAttr(unsigned i,
|
|||||||
// question is an invoke argument; or be indirectly implied by the kind of its
|
// question is an invoke argument; or be indirectly implied by the kind of its
|
||||||
// containing operand bundle, if the operand is a bundle operand.
|
// containing operand bundle, if the operand is a bundle operand.
|
||||||
|
|
||||||
if (i == Attribute::ReturnIndex)
|
if (i == AttributeList::ReturnIndex)
|
||||||
return hasRetAttr(Kind);
|
return hasRetAttr(Kind);
|
||||||
|
|
||||||
// FIXME: Avoid these i - 1 calculations and update the API to use zero-based
|
// FIXME: Avoid these i - 1 calculations and update the API to use zero-based
|
||||||
|
Loading…
Reference in New Issue
Block a user