diff options
Diffstat (limited to 'src/sim/id.cc')
-rw-r--r-- | src/sim/id.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sim/id.cc b/src/sim/id.cc index e18ef14..da7b55c 100644 --- a/src/sim/id.cc +++ b/src/sim/id.cc @@ -22,7 +22,8 @@ Response ID::advance(InstrDTO &next_instr, Response p) n = (p != OK || this->status != OK) ? BLOCKED : OK; // the power of consent - n = this->next->advance(curr_instr, n); + n = this->next->advance(*curr_instr, n); + return this->status; } void ID::get_instr_fields( |