llvm.org GIT mirror llvm / cab1a52
Add method copyOperands(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3445 91177308-0d34-0410-b5e6-96231b3b80d8 Vikram S. Adve 18 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3434 Operands[i] = Val;
3535 }
3636 inline unsigned getNumOperands() const { return Operands.size(); }
37
38 inline std::vector copyOperands() const {
39 return std::vector(op_begin(), op_end());
40 }
3741
3842 // ---------------------------------------------------------------------------
3943 // Operand Iterator interface...