cpu: Fix Checker register index use
authorAndreas Hansson <andreas.hansson@arm.com>
Fri, 15 Nov 2013 08:47:10 +0000 (03:47 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Fri, 15 Nov 2013 08:47:10 +0000 (03:47 -0500)
commitf028da7af7792bec226372ef23c1d103ad68ad30
tree7ecf1b4df77cd850bacb8b327e96401172bc709a
parenta2c21d47a8cd6a1a633491fb58b9d3b1c45c965d
cpu: Fix Checker register index use

This patch fixes an issue in the checker CPU register indexing. The
code will not even compile using LTO as deep inlining causes the used
index to be outside the array bounds.
src/cpu/checker/cpu_impl.hh