mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
Add an idx_iterator to the insertvalue and extractvalue instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52493 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e6807551cb
commit
5678d6e8d3
@ -1586,8 +1586,9 @@ public:
|
|||||||
}
|
}
|
||||||
static const Type *getIndexedType(const Type *Ptr, unsigned Idx);
|
static const Type *getIndexedType(const Type *Ptr, unsigned Idx);
|
||||||
|
|
||||||
inline const unsigned *idx_begin() const { return Indices.begin(); }
|
typedef const unsigned* idx_iterator;
|
||||||
inline const unsigned *idx_end() const { return Indices.end(); }
|
inline idx_iterator idx_begin() const { return Indices.begin(); }
|
||||||
|
inline idx_iterator idx_end() const { return Indices.end(); }
|
||||||
|
|
||||||
Value *getAggregateOperand() {
|
Value *getAggregateOperand() {
|
||||||
return getOperand(0);
|
return getOperand(0);
|
||||||
@ -1747,8 +1748,9 @@ public:
|
|||||||
return reinterpret_cast<const PointerType*>(Instruction::getType());
|
return reinterpret_cast<const PointerType*>(Instruction::getType());
|
||||||
}
|
}
|
||||||
|
|
||||||
inline const unsigned *idx_begin() const { return Indices.begin(); }
|
typedef const unsigned* idx_iterator;
|
||||||
inline const unsigned *idx_end() const { return Indices.end(); }
|
inline idx_iterator idx_begin() const { return Indices.begin(); }
|
||||||
|
inline idx_iterator idx_end() const { return Indices.end(); }
|
||||||
|
|
||||||
Value *getAggregateOperand() {
|
Value *getAggregateOperand() {
|
||||||
return getOperand(0);
|
return getOperand(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user