summaryrefslogtreecommitdiff
path: root/inc/stage.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/stage.h')
-rw-r--r--inc/stage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/stage.h b/inc/stage.h
index 19e3896..50c413a 100644
--- a/inc/stage.h
+++ b/inc/stage.h
@@ -27,7 +27,7 @@ class Stage
* @return a response, indicating whether this pipeline stage is stalling,
* busy, or done.
*/
- virtual Response advance(InstrDTO &next_instr, Response p) = 0;
+ virtual InstrDTO *advance(Response p) = 0;
protected:
/**
@@ -83,7 +83,7 @@ class Stage
/**
* A pointer to the current instruction this stage is processing.
*/
- std::unique_ptr<InstrDTO> curr_instr;
+ InstrDTO *curr_instr;
/**
* The current status of this stage.
*/