Allow checking if source view is symbol view.

This commit is contained in:
Bartosz Taudul 2020-08-10 19:03:23 +02:00
parent 5dd7c7e402
commit b9b39f1957

View File

@ -139,6 +139,7 @@ public:
void Render( const Worker& worker, View& view ); void Render( const Worker& worker, View& view );
void CalcInlineStats( bool val ) { m_calcInlineStats = val; } void CalcInlineStats( bool val ) { m_calcInlineStats = val; }
bool IsSymbolView() const { return !m_asm.empty(); }
private: private:
void ParseSource( const char* fileName, const Worker& worker, const View& view ); void ParseSource( const char* fileName, const Worker& worker, const View& view );