arch-arm: Hint the compiler to inline getArmSystem
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 5 Mar 2020 13:29:49 +0000 (13:29 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 10 Mar 2020 11:24:13 +0000 (11:24 +0000)
commit1fef1491e217b28ef90d4ac9720572130100ca5a
tree1be33cd88a7c4c6e7d7887d1b027617536f2f7cc
parentea33d438a2253ba864d19046a495e60f9e2424ed
arch-arm: Hint the compiler to inline getArmSystem

By defining it in the header we are hinting the compiler to inline
the method

Change-Id: I132964bf8b8c0b5d5eb28868f15723177d049d38
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26323
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
src/arch/arm/system.cc
src/arch/arm/system.hh