summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/LLVMContext.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-31 17:39:07 +0000
committerOwen Anderson <resistor@mac.com>2009-07-31 17:39:07 +0000
commit23a204d91b9a6febe11e54cab7a940d8a73e4612 (patch)
treebe3eb9d190e33f3a69a17f8fc01275e4a464432e /llvm/lib/VMCore/LLVMContext.cpp
parentc10132aa79fd7fed65b86288fa92abb172ce83d2 (diff)
downloadbcm5719-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.cpp13
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);
OpenPOWER on IntegriCloud