summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2013-07-19 11:52:07 +0200
committerAndreas Sandberg <andreas@sandberg.pp.se>2013-07-19 11:52:07 +0200
commitb5bb2a25aa702ad3d1a173e9e86d2addc24d9c13 (patch)
tree526b5761c09d34aca9cbd0352da425cfa1e7d6c2 /src/cpu
parent7aa67f42cb02be0e47d1395fa5377af4730471dc (diff)
downloadgem5-b5bb2a25aa702ad3d1a173e9e86d2addc24d9c13.tar.xz
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 (limited to 'src/cpu')
-rw-r--r--src/cpu/base.hh7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cpu/base.hh b/src/cpu/base.hh
index a91ba862d..9e7198763 100644
--- a/src/cpu/base.hh
+++ b/src/cpu/base.hh
@@ -60,7 +60,6 @@
#include "sim/system.hh"
struct BaseCPUParams;
-class BranchPred;
class CheckerCPU;
class ThreadContext;
@@ -393,12 +392,6 @@ class BaseCPU : public MemObject
virtual void unserializeThread(Checkpoint *cp, const std::string &section,
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;