This revision was automatically updated to reflect the committed changes. Closed by commit rL372608: [LLDB] Fix logically dead code (authored by kwk, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits.
Changed prior to commit: https://reviews.llvm.org/D67915?vs=221318&id=221323#toc Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D67915/new/ https://reviews.llvm.org/D67915 Files: lldb/trunk/include/lldb/Core/LoadedModuleInfoList.h Index: lldb/trunk/include/lldb/Core/LoadedModuleInfoList.h =================================================================== --- lldb/trunk/include/lldb/Core/LoadedModuleInfoList.h +++ lldb/trunk/include/lldb/Core/LoadedModuleInfoList.h @@ -84,9 +84,6 @@ } bool operator==(LoadedModuleInfo const &rhs) const { - if (e_num != rhs.e_num) - return false; - for (size_t i = 0; i < e_num; ++i) { if (m_has[i] != rhs.m_has[i]) return false;
Index: lldb/trunk/include/lldb/Core/LoadedModuleInfoList.h =================================================================== --- lldb/trunk/include/lldb/Core/LoadedModuleInfoList.h +++ lldb/trunk/include/lldb/Core/LoadedModuleInfoList.h @@ -84,9 +84,6 @@ } bool operator==(LoadedModuleInfo const &rhs) const { - if (e_num != rhs.e_num) - return false; - for (size_t i = 0; i < e_num; ++i) { if (m_has[i] != rhs.m_has[i]) return false;
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits