diff options
Diffstat (limited to 'src/cpu/base_dyn_inst.hh')
-rw-r--r-- | src/cpu/base_dyn_inst.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/base_dyn_inst.hh b/src/cpu/base_dyn_inst.hh index ed0054402..c6e57b612 100644 --- a/src/cpu/base_dyn_inst.hh +++ b/src/cpu/base_dyn_inst.hh @@ -168,7 +168,7 @@ class BaseDynInst : public FastAlloc, public RefCounted std::bitset<NumStatus> status; /** The thread this instruction is from. */ - short threadNumber; + ThreadID threadNumber; /** data address space ID, for loads & stores. */ short asid; @@ -778,7 +778,7 @@ class BaseDynInst : public FastAlloc, public RefCounted void setASID(short addr_space_id) { asid = addr_space_id; } /** Sets the thread id. */ - void setTid(unsigned tid) { threadNumber = tid; } + void setTid(ThreadID tid) { threadNumber = tid; } /** Sets the pointer to the thread state. */ void setThreadState(ImplState *state) { thread = state; } |