summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2019-03-05 23:51:25 +0000
committerAdrian Prantl <aprantl@apple.com>2019-03-05 23:51:25 +0000
commitd823020bacb105ce45c6207f108b80683c3f77af (patch)
tree61e7756a6f98b3a9a7c8386b31fac8b16093ea13 /lldb
parent4cc567bb9e358ff997ebc37453607f90ed71e1fd (diff)
downloadbcm5719-llvm-d823020bacb105ce45c6207f108b80683c3f77af.tar.gz
bcm5719-llvm-d823020bacb105ce45c6207f108b80683c3f77af.zip
Remove tautological #ifdefs (NFC)
Differential Revision: https://reviews.llvm.org/D58838 llvm-svn: 355457
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/Target/ExecutionContext.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lldb/source/Target/ExecutionContext.cpp b/lldb/source/Target/ExecutionContext.cpp
index 0aa4a54ee24..77327372f88 100644
--- a/lldb/source/Target/ExecutionContext.cpp
+++ b/lldb/source/Target/ExecutionContext.cpp
@@ -224,30 +224,22 @@ ExecutionContextScope *ExecutionContext::GetBestExecutionContextScope() const {
}
Target &ExecutionContext::GetTargetRef() const {
-#if defined(LLDB_CONFIGURATION_DEBUG) || defined(LLDB_CONFIGURATION_RELEASE)
assert(m_target_sp);
-#endif
return *m_target_sp;
}
Process &ExecutionContext::GetProcessRef() const {
-#if defined(LLDB_CONFIGURATION_DEBUG) || defined(LLDB_CONFIGURATION_RELEASE)
assert(m_process_sp);
-#endif
return *m_process_sp;
}
Thread &ExecutionContext::GetThreadRef() const {
-#if defined(LLDB_CONFIGURATION_DEBUG) || defined(LLDB_CONFIGURATION_RELEASE)
assert(m_thread_sp);
-#endif
return *m_thread_sp;
}
StackFrame &ExecutionContext::GetFrameRef() const {
-#if defined(LLDB_CONFIGURATION_DEBUG) || defined(LLDB_CONFIGURATION_RELEASE)
assert(m_frame_sp);
-#endif
return *m_frame_sp;
}
OpenPOWER on IntegriCloud