mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-02 15:26:29 +00:00
[IR] Remove arg_operands and getNumArgOperands (NFC)
The last uses were removed on Oct 5, 2021 in commit 3081de8c72fc9b6c0cc8b1bb5f02858b78ebaa4c.
This commit is contained in:
parent
3255015407
commit
c72722f45e
@ -1325,16 +1325,6 @@ public:
|
||||
bool arg_empty() const { return arg_end() == arg_begin(); }
|
||||
unsigned arg_size() const { return arg_end() - arg_begin(); }
|
||||
|
||||
// Legacy API names that duplicate the above and will be removed once users
|
||||
// are migrated.
|
||||
iterator_range<User::op_iterator> arg_operands() {
|
||||
return make_range(arg_begin(), arg_end());
|
||||
}
|
||||
iterator_range<User::const_op_iterator> arg_operands() const {
|
||||
return make_range(arg_begin(), arg_end());
|
||||
}
|
||||
unsigned getNumArgOperands() const { return arg_size(); }
|
||||
|
||||
Value *getArgOperand(unsigned i) const {
|
||||
assert(i < arg_size() && "Out of bounds!");
|
||||
return getOperand(i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user