diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2021-03-26 02:14:12 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2021-03-26 02:14:12 +0300 |
commit | ec16182887fd12822e1c937fe0753fb68ae2f825 (patch) | |
tree | 932d4587904d9c92a85618fa29f81a7a52db4ecb | |
parent | eaef966aa9a4c5a23cc87814da55fb45c3e16cb5 (diff) |
Only pack pointer if needed.
-rw-r--r-- | server/TracySourceView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index fa7c497b..cda275e0 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -2525,10 +2525,10 @@ void SourceView::RenderAsmLine( AsmLine& line, uint32_t ipcnt, uint32_t iptotal, } else if( ImGui::IsMouseClicked( 2 ) ) { - const auto cfi = worker.PackPointer( line.addr ); auto inlineList = worker.GetInlineSymbolList( m_baseAddr, m_codeLen ); if( inlineList ) { + const auto cfi = worker.PackPointer( line.addr ); bool found = false; const auto symEnd = m_baseAddr + m_codeLen; while( *inlineList < symEnd ) |