aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/instruction.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-11 22:44:27 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-11 22:44:27 +0100
commit9a3b0dccb3dcb958b6a5c0cd72e8684887b4c4bf (patch)
tree6fe053723f205516f23427a05bd7c235ce88b32a /qtmips_machine/instruction.h
parent4621754239e9464e097a32d087fe0262e21c5bb7 (diff)
downloadqtmips-9a3b0dccb3dcb958b6a5c0cd72e8684887b4c4bf.tar.gz
qtmips-9a3b0dccb3dcb958b6a5c0cd72e8684887b4c4bf.tar.bz2
qtmips-9a3b0dccb3dcb958b6a5c0cd72e8684887b4c4bf.zip
Allow instruction trace from any stage
In reality this internally allows us to see stages even it we are not using pipelining but that is hidden from outside simply to not confuse user.
Diffstat (limited to 'qtmips_machine/instruction.h')
-rw-r--r--qtmips_machine/instruction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_machine/instruction.h b/qtmips_machine/instruction.h
index 6232d3e..d84b0cb 100644
--- a/qtmips_machine/instruction.h
+++ b/qtmips_machine/instruction.h
@@ -29,7 +29,7 @@ public:
bool operator!=(const Instruction &c) const;
Instruction &operator=(const Instruction &c);
- QString to_str();
+ QString to_str() const;
private:
std::uint32_t dt;