diff options
author | Siddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com> | 2025-03-31 20:51:20 -0400 |
---|---|---|
committer | Siddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com> | 2025-03-31 20:51:20 -0400 |
commit | 574212dafcf1c4bdb7d5e6aaa577b74345988d67 (patch) | |
tree | 6132673f5aa85f2488d6f7de77fb33538b7320d3 /src/sim/stage.cc | |
parent | 598da346f59503442ba0b4badfd9ac8b58af4a89 (diff) |
CR Comments
Diffstat (limited to 'src/sim/stage.cc')
-rw-r--r-- | src/sim/stage.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/stage.cc b/src/sim/stage.cc index 26b6ee6..be69d77 100644 --- a/src/sim/stage.cc +++ b/src/sim/stage.cc @@ -80,7 +80,7 @@ bool Stage::is_checked_out(signed int r) } void Stage::squash(){ - this->curr_instr = nullptr; + this->curr_instr->set_mnemonic(NOP); this->status = OK; if(this->next){ this->next->squash(); |