diff --git a/include/llvm/User.h b/include/llvm/User.h index a617f12b0a3..7cc4cfb036d 100644 --- a/include/llvm/User.h +++ b/include/llvm/User.h @@ -44,7 +44,7 @@ public: typedef vector::const_iterator op_const_iterator; inline op_iterator op_begin() { return Operands.begin(); } - inline op_const_iterator op_begin() const { return Operands.end(); } + inline op_const_iterator op_begin() const { return Operands.begin(); } inline op_iterator op_end() { return Operands.end(); } inline op_const_iterator op_end() const { return Operands.end(); }