diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-21 18:03:38 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-21 18:03:38 +0000 |
commit | c37bc69e9186f44c656a5e7f683a9f08ac49c711 (patch) | |
tree | 25ad4c9ef2d92f07d1edc1cbdef76cbc17e6de94 /llvm/lib/VMCore/LLVMContext.cpp | |
parent | 26aafc1ab5e09d5b4fde99cc029f53078ceab5dd (diff) | |
download | bcm5719-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.cpp | 8 |
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, |