mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 14:20:33 +00:00
Add method copyOperands().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3445 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
da920aa55b
commit
cab1a52aa2
@ -36,6 +36,10 @@ public:
|
||||
}
|
||||
inline unsigned getNumOperands() const { return Operands.size(); }
|
||||
|
||||
inline std::vector<Value*> copyOperands() const {
|
||||
return std::vector<Value*>(op_begin(), op_end());
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Operand Iterator interface...
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user