aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/multitext.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-18 20:49:08 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-18 20:49:08 +0100
commit0ccd55c011f72b5bb7d11a1f683e5ac949702417 (patch)
tree16d004557afeb5b023c902fddc3acdcf6d5bc453 /qtmips_gui/coreview/multitext.h
parent1ef78a15bdac490cf5e0b74fcde8539719f4bfe6 (diff)
downloadqtmips-0ccd55c011f72b5bb7d11a1f683e5ac949702417.tar.gz
qtmips-0ccd55c011f72b5bb7d11a1f683e5ac949702417.tar.bz2
qtmips-0ccd55c011f72b5bb7d11a1f683e5ac949702417.zip
Report forward and stall for branches and add forward to execution phase.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/coreview/multitext.h')
-rw-r--r--qtmips_gui/coreview/multitext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_gui/coreview/multitext.h b/qtmips_gui/coreview/multitext.h
index 9d1f0ab..48c9652 100644
--- a/qtmips_gui/coreview/multitext.h
+++ b/qtmips_gui/coreview/multitext.h
@@ -46,7 +46,7 @@ namespace coreview {
class MultiText : public QGraphicsObject {
Q_OBJECT
public:
- MultiText(QMap<std::uint32_t, QString> value_map);
+ MultiText(QMap<std::uint32_t, QString> value_map, bool nonzero_red = false);
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
@@ -58,6 +58,7 @@ private:
QGraphicsSimpleTextItem text;
std::uint32_t value;
QMap<std::uint32_t, QString> value_map;
+ std::uint32_t nonzero_red;
};
}