Remove asseration from ConstString::GetConstCStringAndSetMangledCounterPart() to fix more tests first

llvm-svn: 339716
This commit is contained in:
Stefan Granitz 2018-08-14 19:38:54 +00:00
parent ffa7010b8c
commit 4aaa72f98f
1 changed files with 0 additions and 5 deletions

View File

@ -123,11 +123,6 @@ public:
StringPool &map = m_string_pools[h].m_string_map; StringPool &map = m_string_pools[h].m_string_map;
StringPoolEntryType &entry = *map.try_emplace(demangled).first; StringPoolEntryType &entry = *map.try_emplace(demangled).first;
assert((entry.second == nullptr || entry.second == mangled_ccstr ||
strlen(entry.second) == 0) &&
"The demangled string must have a unique counterpart or otherwise "
"it must be empty");
entry.second = mangled_ccstr; entry.second = mangled_ccstr;
// Extract the const version of the demangled_cstr // Extract the const version of the demangled_cstr