cpu: Get rid of auto return types in the PhysRegFile.
authorGabe Black <gabeblack@google.com>
Sat, 20 Jun 2020 00:06:16 +0000 (17:06 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 3 Jul 2020 21:28:19 +0000 (21:28 +0000)
commit056f5e71b0e817569c6e42b7635c6d9cbb7ed365
tree1c7c072368267bb8d024951445a8dacec8b98385
parent6183389f15bbb0db21ebc19bfaf034b6ffa79a12
cpu: Get rid of auto return types in the PhysRegFile.

This is a C++14 feature, where we only support up to C++11 currently. It
also unnecessarily obfuscates what these functions are doing, since the
return type is a simple and fixed.

Change-Id: I7459ed885c3f006edbcecd4c6be9835d77dbbbae
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30434
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/o3/regfile.cc