CPU: Trim unnecessary includes from some common files.
Review Request #242 - Created Aug. 31, 2010 and submitted
| Information | |
|---|---|
| Gabe Black | |
| gem5 | |
| Reviewers | |
| Default | |
CPU: Trim unnecessary includes from some common files. This reduces the scope of those includes and makes it less likely for there to be a dependency loop. This also moves the hashing functions associated with ExtMachInst objects to be with the ExtMachInst definitions and out of utility.hh.
Seems reasonable. I'm not quite sure why the various hash functions moved from utility to arch/types.hh, but I'll accept that you have a good reason for that. (i.e. a good reason might be that utility.hh is used in many places and arch/types.hh is not and you just need some place to stick the hash function).
