summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sim/id.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/id.cc b/src/sim/id.cc
index 68ac555..e18ef14 100644
--- a/src/sim/id.cc
+++ b/src/sim/id.cc
@@ -22,7 +22,7 @@ Response ID::advance(InstrDTO &next_instr, Response p)
n = (p != OK || this->status != OK) ? BLOCKED : OK;
// the power of consent
- n = this->next->advance(next_instr, n);
+ n = this->next->advance(curr_instr, n);
}
void ID::get_instr_fields(