Remove a misguided API extension

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1926 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-03-21 05:46:43 +00:00
parent 774888c1a4
commit af2d701e12

View 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