summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/IR/LLVMContext.h9
-rw-r--r--llvm/lib/IR/LLVMContext.cpp7
2 files changed, 0 insertions, 16 deletions
diff --git a/llvm/include/llvm/IR/LLVMContext.h b/llvm/include/llvm/IR/LLVMContext.h
index ac805201c88..c8ff90e3b08 100644
--- a/llvm/include/llvm/IR/LLVMContext.h
+++ b/llvm/include/llvm/IR/LLVMContext.h
@@ -187,15 +187,6 @@ public:
void *getDiagnosticContext() const;
/// \brief Return if a code hotness metric should be included in optimization
- /// diagnostics. This method is deprecated; use getDiagnosticsHotnessRequested
- /// instead.
- bool getDiagnosticHotnessRequested() const;
- /// \brief Set if a code hotness metric should be included in optimization
- /// diagnostics. This method is deprecated; use setDiagnosticsHotnessRequested
- /// instead.
- void setDiagnosticHotnessRequested(bool Requested);
-
- /// \brief Return if a code hotness metric should be included in optimization
/// diagnostics.
bool getDiagnosticsHotnessRequested() const;
/// \brief Set if a code hotness metric should be included in optimization
diff --git a/llvm/lib/IR/LLVMContext.cpp b/llvm/lib/IR/LLVMContext.cpp
index b64674fc55c..ed3f10601bf 100644
--- a/llvm/lib/IR/LLVMContext.cpp
+++ b/llvm/lib/IR/LLVMContext.cpp
@@ -125,13 +125,6 @@ void LLVMContext::setDiagnosticHandler(DiagnosticHandlerTy DiagnosticHandler,
pImpl->RespectDiagnosticFilters = RespectFilters;
}
-void LLVMContext::setDiagnosticHotnessRequested(bool Requested) {
- pImpl->DiagnosticsHotnessRequested = Requested;
-}
-bool LLVMContext::getDiagnosticHotnessRequested() const {
- return pImpl->DiagnosticsHotnessRequested;
-}
-
void LLVMContext::setDiagnosticsHotnessRequested(bool Requested) {
pImpl->DiagnosticsHotnessRequested = Requested;
}
OpenPOWER on IntegriCloud