changeset 2492d7ccda7e in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=2492d7ccda7e
description:
cpu: Remove unused getBranchPred() method from BaseCPU
Remove unused virtual getBranchPred() method from BaseCPU as it is not
implemented by any of the CPU models. It used to always return NULL.
diffstat:
src/cpu/base.hh | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diffs (24 lines):
diff -r 971507cbbe65 -r 2492d7ccda7e src/cpu/base.hh
--- a/src/cpu/base.hh Thu Jul 18 14:46:54 2013 -0500
+++ b/src/cpu/base.hh Fri Jul 19 11:52:07 2013 +0200
@@ -60,7 +60,6 @@
#include "sim/system.hh"
struct BaseCPUParams;
-class BranchPred;
class CheckerCPU;
class ThreadContext;
@@ -393,12 +392,6 @@
virtual void unserializeThread(Checkpoint *cp, const std::string §ion,
ThreadID tid) {};
- /**
- * Return pointer to CPU's branch predictor (NULL if none).
- * @return Branch predictor pointer.
- */
- virtual BranchPred *getBranchPred() { return NULL; };
-
virtual Counter totalInsts() const = 0;
virtual Counter totalOps() const = 0;
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev