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 | 23a204d91b9a6febe11e54cab7a940d8a73e4612 (patch) | |
tree | be3eb9d190e33f3a69a17f8fc01275e4a464432e /llvm/lib/VMCore/LLVMContext.cpp | |
parent | c10132aa79fd7fed65b86288fa92abb172ce83d2 (diff) | |
download | bcm5719-llvm-23a204d91b9a6febe11e54cab7a940d8a73e4612.tar.gz bcm5719-llvm-23a204d91b9a6febe11e54cab7a940d8a73e4612.zip |
Move getTrue() and getFalse() to 2.5-like APIs.
llvm-svn: 77685
Diffstat (limited to 'llvm/lib/VMCore/LLVMContext.cpp')
-rw-r--r-- | llvm/lib/VMCore/LLVMContext.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/VMCore/LLVMContext.cpp b/llvm/lib/VMCore/LLVMContext.cpp index 23c73c5fd5d..7dcfcf484cc 100644 --- a/llvm/lib/VMCore/LLVMContext.cpp +++ b/llvm/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); |