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:
Vikram S. Adve 2002-08-22 03:01:44 +00:00
parent da920aa55b
commit cab1a52aa2

View File

@ -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...
//