mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Don't display operands, if none.
This commit is contained in:
parent
47b8f052bd
commit
bb4b08e8cf
@ -2141,6 +2141,8 @@ void SourceView::RenderAsmLine( const AsmLine& line, uint32_t ipcnt, uint32_t ip
|
||||
if( var.port != -1 ) TextFocused( "Ports:", PortList[var.port] );
|
||||
ImGui::Separator();
|
||||
TextFocused( "ISA set:", IsaList[var.isaSet] );
|
||||
if( var.descNum > 0 )
|
||||
{
|
||||
TextDisabledUnformatted( "Operands:" );
|
||||
ImGui::SameLine();
|
||||
bool first = true;
|
||||
@ -2187,6 +2189,7 @@ void SourceView::RenderAsmLine( const AsmLine& line, uint32_t ipcnt, uint32_t ip
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
ImGui::EndTooltip();
|
||||
if( m_font ) ImGui::PushFont( m_font );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user