Be more efficient with missing values in asm attachments.

This commit is contained in:
Bartosz Taudul
2026-05-10 11:35:31 +02:00
parent 5cb283073e
commit edb5241bee

View File

@@ -2590,7 +2590,7 @@ void SourceView::AttachRangeToLlm( size_t start, size_t stop, Worker& worker, Vi
}
else
{
line = "-:-:";
line = "::";
}
line += "+" + std::to_string( m_asm[i].addr - m_baseAddr ) + ":";
@@ -2611,7 +2611,7 @@ void SourceView::AttachRangeToLlm( size_t start, size_t stop, Worker& worker, Vi
}
}
}
if( !hasCost ) line += "-:";
if( !hasCost ) line += ":";
line += v.mnemonic;