Remove asseration from ConstString::GetConstCStringAndSetMangledCounterPart() to fix more tests first
llvm-svn: 339716
This commit is contained in:
parent
ffa7010b8c
commit
4aaa72f98f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue