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
This commit is contained in:
Owen Anderson
2009-07-31 17:39:07 +00:00
parent ed47a0409b
commit 5defacc6e6
16 changed files with 157 additions and 164 deletions
-13
View File
@@ -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);