Author: adrian Date: Tue Mar 5 15:51:25 2019 New Revision: 355457 URL: http://llvm.org/viewvc/llvm-project?rev=355457&view=rev Log: Remove tautological #ifdefs (NFC)
Differential Revision: https://reviews.llvm.org/D58838 Modified: lldb/trunk/source/Target/ExecutionContext.cpp Modified: lldb/trunk/source/Target/ExecutionContext.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ExecutionContext.cpp?rev=355457&r1=355456&r2=355457&view=diff ============================================================================== --- lldb/trunk/source/Target/ExecutionContext.cpp (original) +++ lldb/trunk/source/Target/ExecutionContext.cpp Tue Mar 5 15:51:25 2019 @@ -224,30 +224,22 @@ ExecutionContextScope *ExecutionContext: } 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; } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits