Review Board 2.0.15


arm: Use a static_assert to test that miscRegName[] is complete

Review Request #1400 - Created Sept. 7, 2012 and submitted

Information
Ali Saidi
gem5
default
Reviewers
Default
Changeset 9204:5e585b655efe
---------------------------
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.

   
Review request changed
Updated (Oct. 1, 2012, 8:08 a.m.)

Status: Closed (submitted)