diff options
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/VMCore/Constants.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Constants.cpp b/llvm/lib/VMCore/Constants.cpp index 3c347ddd41b..c34234ad589 100644 --- a/llvm/lib/VMCore/Constants.cpp +++ b/llvm/lib/VMCore/Constants.cpp @@ -855,7 +855,7 @@ ConstantExpr::getWithOperandReplaced(unsigned OpNo, Constant *Op) const { /// operands replaced with the specified values. The specified operands must /// match count and type with the existing ones. Constant *ConstantExpr:: -getWithOperands(llvm::ArrayRef<Constant*> Ops) const { +getWithOperands(ArrayRef<Constant*> Ops) const { assert(Ops.size() == getNumOperands() && "Operand count mismatch!"); bool AnyChange = false; for (unsigned i = 0; i != Ops.size(); ++i) { |