summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/LLVMContextImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/VMCore/LLVMContextImpl.h')
-rw-r--r--llvm/lib/VMCore/LLVMContextImpl.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/lib/VMCore/LLVMContextImpl.h b/llvm/lib/VMCore/LLVMContextImpl.h
index f2cdcf4a0d3..b20b65d7f21 100644
--- a/llvm/lib/VMCore/LLVMContextImpl.h
+++ b/llvm/lib/VMCore/LLVMContextImpl.h
@@ -469,20 +469,6 @@ public:
MDNode *getMDNode(Value*const* Vals, unsigned NumVals);
- ConstantInt *getTrue() {
- if (TheTrueVal)
- return TheTrueVal;
- else
- return (TheTrueVal = ConstantInt::get(IntegerType::get(1), 1));
- }
-
- ConstantInt *getFalse() {
- if (TheFalseVal)
- return TheFalseVal;
- else
- return (TheFalseVal = ConstantInt::get(IntegerType::get(1), 0));
- }
-
void erase(MDString *M);
void erase(MDNode *M);
};
OpenPOWER on IntegriCloud