diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/id.h | 2 | ||||
-rw-r--r-- | inc/if.h | 2 | ||||
-rw-r--r-- | inc/stage.h | 3 |
3 files changed, 7 insertions, 0 deletions
@@ -38,6 +38,8 @@ class ID : public Stage */ void write_guard(signed int &r); + std::vector<int> stage_info() override; + private: void advance_helper() override; /** @@ -17,6 +17,8 @@ class IF : public Stage InstrDTO *advance(Response p) override; + std::vector<int> stage_info() override; + private: void advance_helper() override; }; diff --git a/inc/stage.h b/inc/stage.h index da33075..1cedac6 100644 --- a/inc/stage.h +++ b/inc/stage.h @@ -38,6 +38,8 @@ class Stage */ virtual InstrDTO *advance(Response p); + virtual std::vector<int> stage_info(); + /* The following methods are made public so that they may be tested, and are * not to be called from outside classes during standard execution. */ @@ -132,6 +134,7 @@ class Stage * The current status of this stage. */ Response status; + }; #endif /* STAGE_H_INCLUDED */ |