From eaa87e9fcd90c00d6261cbdb854efb7a09467f1d Mon Sep 17 00:00:00 2001 From: bd Date: Thu, 27 Mar 2025 20:30:18 -0400 Subject: Instr, InstrDTO gets/sets, other structures required for decode --- inc/if.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'inc/if.h') diff --git a/inc/if.h b/inc/if.h index 437fa8d..7906c22 100644 --- a/inc/if.h +++ b/inc/if.h @@ -1,5 +1,6 @@ #ifndef IF_H #define IF_H +#include "accessor.h" #include "instrDTO.h" #include "response.h" #include "stage.h" @@ -7,15 +8,14 @@ class IF : public Stage { public: - using Stage::Stage; - - Response advance(InstrDTO &i) override; - - private: /** - * The name this pipeline stages uses to access storage. + * Constructor. + * @param The next stage in the pipeline. + * @return A newly allocated IF object. */ - const Accessor id = FETCH; + IF(Stage *next); + + Response advance(InstrDTO &i) override; }; #endif /* IF_H_INCLUDED */ -- cgit v1.2.3