diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-31 17:39:07 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-31 17:39:07 +0000 |
commit | 5defacc6e605f4651c6300237cef8e9bb2eb6d0e (patch) | |
tree | 083068ba3cfc6652b20e6dbe0dbcfe207cc00f6e /lib/VMCore/LLVMContext.cpp | |
parent | ed47a0409b187d5dcd2bddfd054326fc809d00ae (diff) | |
download | llvm-5defacc6e605f4651c6300237cef8e9bb2eb6d0e.tar.gz llvm-5defacc6e605f4651c6300237cef8e9bb2eb6d0e.tar.bz2 llvm-5defacc6e605f4651c6300237cef8e9bb2eb6d0e.tar.xz |
Move getTrue() and getFalse() to 2.5-like APIs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/LLVMContext.cpp')
-rw-r--r-- | lib/VMCore/LLVMContext.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/VMCore/LLVMContext.cpp b/lib/VMCore/LLVMContext.cpp index 23c73c5fd5..7dcfcf484c 100644 --- a/lib/VMCore/LLVMContext.cpp +++ b/lib/VMCore/LLVMContext.cpp @@ -75,19 +75,6 @@ Constant* LLVMContext::getAllOnesValue(const Type* Ty) { return cast<ConstantVector>(ConstantVector::get(Elts)); } -// ConstantInt accessors. -ConstantInt* LLVMContext::getTrue() { - assert(this && "Context not initialized!"); - assert(pImpl && "Context not initialized!"); - return pImpl->getTrue(); -} - -ConstantInt* LLVMContext::getFalse() { - assert(this && "Context not initialized!"); - assert(pImpl && "Context not initialized!"); - return pImpl->getFalse(); -} - // MDNode accessors MDNode* LLVMContext::getMDNode(Value* const* Vals, unsigned NumVals) { return pImpl->getMDNode(Vals, NumVals); |