Skip to content

Commit

Permalink
Commit AttributeList change that was supposed to be part of r303654
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303656 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
rnk committed May 23, 2017
1 parent 60e9cbc commit 1010908
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/IR/Instructions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ bool CallInst::dataOperandHasImpliedAttr(unsigned i,
// question is a call argument; or be indirectly implied by the kind of its
// containing operand bundle, if the operand is a bundle operand.

if (i == Attribute::ReturnIndex)
if (i == AttributeList::ReturnIndex)
return hasRetAttr(Kind);

// FIXME: Avoid these i - 1 calculations and update the API to use zero-based
Expand Down Expand Up @@ -782,7 +782,7 @@ bool InvokeInst::dataOperandHasImpliedAttr(unsigned i,
// question is an invoke argument; or be indirectly implied by the kind of its
// containing operand bundle, if the operand is a bundle operand.

if (i == Attribute::ReturnIndex)
if (i == AttributeList::ReturnIndex)
return hasRetAttr(Kind);

// FIXME: Avoid these i - 1 calculations and update the API to use zero-based
Expand Down

0 comments on commit 1010908

Please sign in to comment.