diff options
author | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-07-19 11:52:07 +0200 |
---|---|---|
committer | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-07-19 11:52:07 +0200 |
commit | b5bb2a25aa702ad3d1a173e9e86d2addc24d9c13 (patch) | |
tree | 526b5761c09d34aca9cbd0352da425cfa1e7d6c2 /src | |
parent | 7aa67f42cb02be0e47d1395fa5377af4730471dc (diff) | |
download | gem5-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')
-rw-r--r-- | src/cpu/base.hh | 7 |
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 §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; |