diff options
author | Andreas Sandberg <Andreas.Sandberg@arm.com> | 2012-09-25 11:49:40 -0500 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@arm.com> | 2012-09-25 11:49:40 -0500 |
commit | 6f603e0807ef82f250bda4946d94186e7220dedf (patch) | |
tree | 26c905f698b7c3d0a0f26e7ccd42a93ca1dde01b /src/arch/micro_asm.py | |
parent | 4544f3def42ae9b8c528223d8762ae3634c7124a (diff) | |
download | gem5-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/arch/micro_asm.py')
0 files changed, 0 insertions, 0 deletions