mem: Spring cleaning of MSHR and MSHRQueue
authorAndreas Hansson <andreas.hansson@arm.com>
Thu, 30 May 2013 16:54:11 +0000 (12:54 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Thu, 30 May 2013 16:54:11 +0000 (12:54 -0400)
commit7da851d1a834fbe6dd02f87884586129786b14a6
treeba426b7526b9480c38ebead26fc320f7fcbec347
parent42191522cc16f0f1c98455e52681a928cba4052a
mem: Spring cleaning of MSHR and MSHRQueue

This patch does some minor tidying up of the MSHR and MSHRQueue. The
clean up started as part of some ad-hoc tracing and debugging, but
seems worthwhile enough to go in as a separate patch.

The highlights of the changes are reduced scoping (private) members
where possible, avoiding redundant new/delete, and constructor
initialisation to please static code analyzers.
src/mem/cache/mshr.cc
src/mem/cache/mshr.hh
src/mem/cache/mshr_queue.cc
src/mem/cache/mshr_queue.hh