Skip to content

Commit

Permalink
chagne erase to pop front(), don't have local machine right now so on…
Browse files Browse the repository at this point in the history
…ly can test by using auto regression test
  • Loading branch information
MayneMei authored Dec 2, 2024
1 parent 57158ba commit b73dba2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/LSU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ namespace olympia
<< " Got: " << inst_ptr->getUniqueID());

// Remove from store buffer -> don't actually need to send cache request
store_buffer_.erase(store_buffer_.begin());;
sparta_assert(store_buffer_.size() > 0, "Store buffer empty on retiring store");
store_buffer_.pop_front();
++stores_retired_;
}

Expand Down

0 comments on commit b73dba2

Please sign in to comment.