Remove tautological #ifdefs (NFC)

Differential Revision: https://reviews.llvm.org/D58838

llvm-svn: 355457
This commit is contained in:
Adrian Prantl 2019-03-05 23:51:25 +00:00
parent 4cc567bb9e
commit d823020bac
1 changed files with 0 additions and 8 deletions

View File

@ -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;
}