From 7b3dc0948ba53e9656a1ac527b7576f66d53de78 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 21 Mar 2002 05:46:43 +0000 Subject: [PATCH] Remove a misguided API extension llvm-svn: 1926 --- include/llvm/User.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/llvm/User.h b/include/llvm/User.h index 007db5f74c8..e78d21bbca0 100644 --- a/include/llvm/User.h +++ b/include/llvm/User.h @@ -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