mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Add a method to reserve space for operands
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8992 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
35d2ca672b
commit
97622b1751
@ -41,6 +41,8 @@ public:
|
||||
typedef std::vector<Use>::iterator op_iterator;
|
||||
typedef std::vector<Use>::const_iterator const_op_iterator;
|
||||
|
||||
void op_reserve(unsigned NumElements) { Operands.reserve(NumElements); }
|
||||
|
||||
inline op_iterator op_begin() { return Operands.begin(); }
|
||||
inline const_op_iterator op_begin() const { return Operands.begin(); }
|
||||
inline op_iterator op_end() { return Operands.end(); }
|
||||
|
Loading…
Reference in New Issue
Block a user