inorder: fix cache/fetch unit memory leaks
authorKorey Sewell <ksewell@umich.edu>
Fri, 18 Feb 2011 19:29:17 +0000 (14:29 -0500)
committerKorey Sewell <ksewell@umich.edu>
Fri, 18 Feb 2011 19:29:17 +0000 (14:29 -0500)
commit8b4b4a1ba50a6f422ab75ccf0fb09568f1805ce6
treeb88a94fed084c2556e94b326e2a4e3819d76d6e2
parent72b5233112a41cb879ca63866f9f0ecf8638dbfb
inorder: fix cache/fetch unit memory leaks
---
need to delete the cache request's data on clearRequest() now that we are recycling
requests
---
fetch unit needs to deallocate the fetch buffer blocks when they are replaced or
squashed.
src/cpu/inorder/resources/cache_unit.cc
src/cpu/inorder/resources/cache_unit.hh
src/cpu/inorder/resources/fetch_unit.cc
src/cpu/inorder/resources/fetch_unit.hh