From 9a3b0dccb3dcb958b6a5c0cd72e8684887b4c4bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 11 Jan 2018 22:44:27 +0100 Subject: 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. --- qtmips_machine/instruction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_machine/instruction.h') 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; -- cgit v1.2.3