diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2015-03-14 06:51:07 -0700 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2015-03-14 06:51:07 -0700 |
commit | ccef61d1ccaea43cf44aa45bee272475f0b10405 (patch) | |
tree | aed47ac3d917a40ed6c126a419fd04508a37f836 /src/cpu/simple | |
parent | 7902e5778f4737bbb5844ceb2478663c143aebc9 (diff) | |
download | gem5-ccef61d1ccaea43cf44aa45bee272475f0b10405.tar.xz |
mem: clean up write buffer check in Cache::handleSnoop()
The 'if (writebacks.size)' check was redundant, because
writeBuffer.findMatches() would return false if the
writebacks list was empty.
Also renamed 'mshr' to 'wb_entry' in this context since
we are pointing at a writebuffer entry and not an MSHR
(even though it's the same C++ class).
Diffstat (limited to 'src/cpu/simple')
0 files changed, 0 insertions, 0 deletions