Added hook hasReservedCallFrame(). It returns true if the call frame is
[oota-llvm.git] / include / llvm / Use.h
index e817601f80cdda62bf433fe9fe30a65dff769bce..c88d41f700544007ad8dd1cbf0778c58f3efb66d 100644 (file)
@@ -141,11 +141,10 @@ public:
 
   Use &getUse() const { return *U; }
   
-  /// getOperandNo - Return the operand # of this use in its User.
+  /// getOperandNo - Return the operand # of this use in its User.  Defined in
+  /// User.h
   ///
-  unsigned getOperandNo() const {
-    return U - U->getUser()->op_begin();
-  }
+  unsigned getOperandNo() const;
 };