summaryrefslogtreecommitdiff
path: root/src/cpu/simple/timing.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@arm.com>2012-09-25 11:49:40 -0500
committerAndreas Sandberg <Andreas.Sandberg@arm.com>2012-09-25 11:49:40 -0500
commit6f603e0807ef82f250bda4946d94186e7220dedf (patch)
tree26c905f698b7c3d0a0f26e7ccd42a93ca1dde01b /src/cpu/simple/timing.hh
parent4544f3def42ae9b8c528223d8762ae3634c7124a (diff)
downloadgem5-6f603e0807ef82f250bda4946d94186e7220dedf.tar.xz
arm: Use a static_assert to test that miscRegName[] is complete
Instead of statically defining miscRegName to contain NUM_MISCREGS elements, let the compiler determine the length of the array. This allows us to use a static_assert to test that all registers are listed in the name vector.
Diffstat (limited to 'src/cpu/simple/timing.hh')
0 files changed, 0 insertions, 0 deletions