summaryrefslogtreecommitdiff
path: root/src/cpu/simple
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2015-03-14 06:51:07 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2015-03-14 06:51:07 -0700
commitccef61d1ccaea43cf44aa45bee272475f0b10405 (patch)
treeaed47ac3d917a40ed6c126a419fd04508a37f836 /src/cpu/simple
parent7902e5778f4737bbb5844ceb2478663c143aebc9 (diff)
downloadgem5-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