summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/LLVMContext.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-21 18:03:38 +0000
committerOwen Anderson <resistor@mac.com>2009-07-21 18:03:38 +0000
commitc37bc69e9186f44c656a5e7f683a9f08ac49c711 (patch)
tree25ad4c9ef2d92f07d1edc1cbdef76cbc17e6de94 /llvm/lib/VMCore/LLVMContext.cpp
parent26aafc1ab5e09d5b4fde99cc029f53078ceab5dd (diff)
downloadbcm5719-llvm-c37bc69e9186f44c656a5e7f683a9f08ac49c711.tar.gz
bcm5719-llvm-c37bc69e9186f44c656a5e7f683a9f08ac49c711.zip
Rename getConstantInt{True|False} to get{True|False} at Chris' behest.
llvm-svn: 76598
Diffstat (limited to 'llvm/lib/VMCore/LLVMContext.cpp')
-rw-r--r--llvm/lib/VMCore/LLVMContext.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/LLVMContext.cpp b/llvm/lib/VMCore/LLVMContext.cpp
index bb3762bd813..5e009ea6dff 100644
--- a/llvm/lib/VMCore/LLVMContext.cpp
+++ b/llvm/lib/VMCore/LLVMContext.cpp
@@ -80,16 +80,16 @@ UndefValue* LLVMContext::getUndef(const Type* Ty) {
}
// ConstantInt accessors.
-ConstantInt* LLVMContext::getConstantIntTrue() {
+ConstantInt* LLVMContext::getTrue() {
assert(this && "Context not initialized!");
assert(pImpl && "Context not initialized!");
- return pImpl->getConstantIntTrue();
+ return pImpl->getTrue();
}
-ConstantInt* LLVMContext::getConstantIntFalse() {
+ConstantInt* LLVMContext::getFalse() {
assert(this && "Context not initialized!");
assert(pImpl && "Context not initialized!");
- return pImpl->getConstantIntFalse();
+ return pImpl->getFalse();
}
Constant* LLVMContext::getConstantInt(const Type* Ty, uint64_t V,
OpenPOWER on IntegriCloud