Use existing reference to array entry.

This commit is contained in:
Bartosz Taudul
2026-05-11 20:01:40 +02:00
parent 9611069a4f
commit 7c6e656fda

View File

@@ -2048,7 +2048,7 @@ void SourceView::AttachRangeToLlm( size_t start, size_t stop, Worker& worker, Vi
line = "::";
}
line += "+" + std::to_string( m_asm[i].addr - m_baseAddr ) + ":";
line += "+" + std::to_string( v.addr - m_baseAddr ) + ":";
const auto totalCost = as.ipTotalAsm.local + as.ipTotalAsm.ext;
if( totalCost != 0 )