summaryrefslogtreecommitdiff
path: root/src/cpu/ozone/null_predictor.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/ozone/null_predictor.hh')
-rw-r--r--src/cpu/ozone/null_predictor.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/ozone/null_predictor.hh b/src/cpu/ozone/null_predictor.hh
index 68bb7cd52..44d2f5475 100644
--- a/src/cpu/ozone/null_predictor.hh
+++ b/src/cpu/ozone/null_predictor.hh
@@ -68,7 +68,7 @@ class NullPredictor
* @param tid The thread id.
* @return Returns if the branch is taken or not.
*/
- bool predict(DynInstPtr &inst, Addr &PC, unsigned tid)
+ bool predict(DynInstPtr &inst, Addr &PC, ThreadID tid)
{ return false; }
/**
@@ -77,7 +77,7 @@ class NullPredictor
* @param done_sn The sequence number to commit any older updates up until.
* @param tid The thread id.
*/
- void update(const InstSeqNum &done_sn, unsigned tid) { }
+ void update(const InstSeqNum &done_sn, ThreadID tid) { }
/**
* Squashes all outstanding updates until a given sequence number.
@@ -85,7 +85,7 @@ class NullPredictor
* until.
* @param tid The thread id.
*/
- void squash(const InstSeqNum &squashed_sn, unsigned tid) { }
+ void squash(const InstSeqNum &squashed_sn, ThreadID tid) { }
/**
* Squashes all outstanding updates until a given sequence number, and
@@ -97,7 +97,7 @@ class NullPredictor
* @param tid The thread id.
*/
void squash(const InstSeqNum &squashed_sn, const Addr &corr_target,
- bool actually_taken, unsigned tid)
+ bool actually_taken, ThreadID tid)
{ }
};