Fix stupid typo
authorChris Lattner <sabre@nondot.org>
Mon, 9 Jul 2001 16:54:29 +0000 (16:54 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 9 Jul 2001 16:54:29 +0000 (16:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/User.h

index a617f12b0a3d85602d1a57a625ed9d5cf34b1567..7cc4cfb036d6efba277ba66a2a22967541132fc9 100644 (file)
@@ -44,7 +44,7 @@ public:
   typedef vector<Use>::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(); }