mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user