Remove a misguided API extension
authorChris Lattner <sabre@nondot.org>
Thu, 21 Mar 2002 05:46:43 +0000 (05:46 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 21 Mar 2002 05:46:43 +0000 (05:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1926 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/User.h

index 007db5f74c841e5524796ce9ffa4cf672c9b5dec..e78d21bbca0a1221f13d809e3e49f1db62468ce4 100644 (file)
@@ -71,16 +71,6 @@ public:
            V->getValueType() == Value::ConstantVal ||
            V->getValueType() == Value::InstructionVal;
   }
-
-  // addOperand - This is a special purpose API that should not be used in most
-  // cases.  It adds an empty (null) operand to the instruction specified.  This
-  // is currently used by the back end as part of the "lowering" process... most
-  // optimizations will not handle instructions that are not in their normal
-  // form, so this method should be used with care.
-  //
-  void addOperand() {
-    Operands.push_back(Use(0, this));
-  }
 };
 
 #endif