cpu: Change raw pointers to STL Containers
authorRekai Gonzalez-Alberquilla <rekai.gonzalezalberquilla@arm.com>
Wed, 1 Mar 2017 13:49:08 +0000 (13:49 +0000)
committerGiacomo Gabrielli <giacomo.gabrielli@arm.com>
Mon, 3 Dec 2018 14:23:56 +0000 (14:23 +0000)
commit9af1214ffe48178c0dadfb874fd62bd0ff2e0f31
tree1b4dd7edf77791c81f40f6d919829495eb80db93
parentb5cc34d767410e98f54f2955bb274f0f8c3708e4
cpu: Change raw pointers to STL Containers

This patch changes two members from being raw pointers to being STL
containers. The reason behind, other than cleanlyness and arguable OO
best practices is that containers have more intronspections capabilities
than naked pointers do, as the size is known.

Using STL containers adds little overhead and eases the automation of
process during debugging (gdb).

Change-Id: I4d9d3eedafa8b5e50ac512ea93b458a4200229f2
Signed-off-by: Giacomo Gabrielli <giacomo.gabrielli@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/13126
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/cpu/o3/dep_graph.hh
src/cpu/o3/lsq.hh
src/cpu/o3/lsq_impl.hh
src/cpu/o3/lsq_unit.hh
src/cpu/o3/lsq_unit_impl.hh