Core: Handle duplicate symbols in AddLabelSymbol
This commit is contained in:
parent
72e6ee1a2b
commit
f63244cfa4
|
@ -901,7 +901,14 @@ void CX86Ops::AddLabelSymbol(const asmjit::Label & Label, const char * Symbol)
|
||||||
NumberSymbolMap::iterator itr = m_LabelSymbols.find(Label.id());
|
NumberSymbolMap::iterator itr = m_LabelSymbols.find(Label.id());
|
||||||
if (itr != m_LabelSymbols.end())
|
if (itr != m_LabelSymbols.end())
|
||||||
{
|
{
|
||||||
__debugbreak();
|
if (strcmp(itr->second.Symbol.c_str(), Symbol) == 0)
|
||||||
|
{
|
||||||
|
itr->second.Count += 2;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
__debugbreak();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue