summaryrefslogtreecommitdiff
path: root/tests/dum.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dum.h')
-rw-r--r--tests/dum.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dum.h b/tests/dum.h
index 5bfc646..e60ffad 100644
--- a/tests/dum.h
+++ b/tests/dum.h
@@ -17,7 +17,7 @@ class DUM : public Stage
{
InstrDTO *r = nullptr;
- if (this->curr_instr && p == WAIT) {
+ if (this->curr_instr && p == READY) {
r = new InstrDTO(*this->curr_instr);
delete this->curr_instr;
curr_instr = nullptr;