summaryrefslogtreecommitdiff
path: root/include/llvm/User.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-03-21 05:46:43 +0000
committerChris Lattner <sabre@nondot.org>2002-03-21 05:46:43 +0000
commitaf2d701e125d915e4d50da0c9861ee8655e78c27 (patch)
treea5bd04f0f935972f64c089f1562227512bc587cf /include/llvm/User.h
parent774888c1a4ae56c3c552accc03e9c47cf6f47d09 (diff)
downloadllvm-af2d701e125d915e4d50da0c9861ee8655e78c27.tar.gz
llvm-af2d701e125d915e4d50da0c9861ee8655e78c27.tar.bz2
llvm-af2d701e125d915e4d50da0c9861ee8655e78c27.tar.xz
Remove a misguided API extension
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1926 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/User.h')
-rw-r--r--include/llvm/User.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/User.h b/include/llvm/User.h
index 007db5f74c..e78d21bbca 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