mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-09 03:01:17 +00:00
Add method copyOperands().
llvm-svn: 3445
This commit is contained in:
parent
0672c43566
commit
dba9c85e36
@ -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…
x
Reference in New Issue
Block a user