diff options
author | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2015-02-11 10:23:22 -0500 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2015-02-11 10:23:22 -0500 |
commit | 431a6d708b4346ec81bade79033cc34308a5144f (patch) | |
tree | 68241518e3782f626a89270d698ac4c6cac7e5f3 /src/arch | |
parent | ad1b17755012c928acf91c95dc1dab4eeba8ff9d (diff) | |
download | gem5-431a6d708b4346ec81bade79033cc34308a5144f.tar.xz |
dev: Remove unused system pointer in the Platform base class
The Platform base class contains a pointer to an instance of the
System which is never initialized. This can lead to subtle bugs since
some architecture-specific platform implementations contain their own
system pointer which is normally used. However, if the platform is
accessed through a pointer to its base class, the dangling pointer
will be used instead.
Diffstat (limited to 'src/arch')
0 files changed, 0 insertions, 0 deletions