summaryrefslogtreecommitdiff
path: root/src/sim/stage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/stage.cc')
-rw-r--r--src/sim/stage.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sim/stage.cc b/src/sim/stage.cc
index 7d3a678..399743a 100644
--- a/src/sim/stage.cc
+++ b/src/sim/stage.cc
@@ -1,5 +1,9 @@
#include "stage.h"
+Stage::Stage(Stage *next) {
+ this->next = next;
+}
+
std::array<int, GPR_NUM> Stage::gprs;
int Stage::pc;
Storage *Stage::storage;