diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-05-10 13:11:57 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-05-12 09:21:41 +0000 |
commit | 32d99f43199ab9a5223c7ba90a63ed224e18e6bb (patch) | |
tree | 064488d72fa814693489924560d7a114148f2ff8 /src/arch/arm/freebsd/system.cc | |
parent | 9810fc67ed9d1380adfc1b60a6946f023ce60a5e (diff) | |
download | gem5-32d99f43199ab9a5223c7ba90a63ed224e18e6bb.tar.xz |
arm: Remove unused DumpStatsPCEventF class in FreeBSD system
The DumpStatsPCEventF is declared but lacks an implementation. This
confuses RTTI in clang. Remove this class since it is clearly not
needed.
Change-Id: Ib95f09f2ba8593f8d0e072b96afd5f8a9ed31070
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/3240
Reviewed-by: B.A. Zeeb <baz21@cam.ac.uk>
Diffstat (limited to 'src/arch/arm/freebsd/system.cc')
-rw-r--r-- | src/arch/arm/freebsd/system.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/arch/arm/freebsd/system.cc b/src/arch/arm/freebsd/system.cc index da427e832..84538e18e 100644 --- a/src/arch/arm/freebsd/system.cc +++ b/src/arch/arm/freebsd/system.cc @@ -51,7 +51,7 @@ using namespace ArmISA; using namespace FreeBSD; FreebsdArmSystem::FreebsdArmSystem(Params *p) - : GenericArmSystem(p), dumpStatsPCEventF(nullptr), + : GenericArmSystem(p), enableContextSwitchStatsDump(p->enable_context_switch_stats_dump), taskFile(nullptr), kernelPanicEvent(nullptr), kernelOopsEvent(nullptr) { @@ -150,9 +150,6 @@ FreebsdArmSystem::~FreebsdArmSystem() delete uDelaySkipEvent; if (constUDelaySkipEvent) delete constUDelaySkipEvent; - - if (dumpStatsPCEventF) - delete dumpStatsPCEventF; } FreebsdArmSystem * |