summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-29 20:18:51 -0400
committerbd <bdunahu@operationnull.com>2025-03-29 20:18:51 -0400
commit24a7d608aa84d6549a52e54726e1379e97cac146 (patch)
tree1a662d8b461c67fcd90545f841d467e8f69f414f /src
parent6bce0485a0f9ce92bc235f063a1f9aab2d59a1c9 (diff)
Add tests for read/write guards
Diffstat (limited to 'src')
-rw-r--r--src/sim/stage.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sim/stage.cc b/src/sim/stage.cc
index a8f3f9e..62a7fd6 100644
--- a/src/sim/stage.cc
+++ b/src/sim/stage.cc
@@ -8,6 +8,7 @@ Stage::Stage(Stage *next)
this->next = next;
this->curr_instr = nullptr;
this->status = OK;
+ this->checked_out = {};
}
Stage::~Stage() { delete this->next; };