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.
This commit is contained in:
Andreas Sandberg
2013-07-19 11:52:07 +02:00
parent 7aa67f42cb
commit b5bb2a25aa

View File

@@ -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;