diff options
author | Korey Sewell <ksewell@umich.edu> | 2010-06-24 15:34:19 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2010-06-24 15:34:19 -0400 |
commit | 71b67d408bb595471a57dbe8e40cf5ac82c5d3b7 (patch) | |
tree | 4f0b3bc4fd671a4476799cdce0c282f970d313cc /src/cpu/inorder/resources/use_def.hh | |
parent | f95430d97e0a9a77b920ab3ca24b134bc682f655 (diff) | |
download | gem5-71b67d408bb595471a57dbe8e40cf5ac82c5d3b7.tar.xz |
inorder: cleanup virtual functions
remove the annotation 'virtual' from function declaration that isnt being derived from
Diffstat (limited to 'src/cpu/inorder/resources/use_def.hh')
-rw-r--r-- | src/cpu/inorder/resources/use_def.hh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/cpu/inorder/resources/use_def.hh b/src/cpu/inorder/resources/use_def.hh index adfdd6ed3..d2cc55315 100644 --- a/src/cpu/inorder/resources/use_def.hh +++ b/src/cpu/inorder/resources/use_def.hh @@ -55,17 +55,16 @@ class UseDefUnit : public Resource { public: UseDefUnit(std::string res_name, int res_id, int res_width, int res_latency, InOrderCPU *_cpu, ThePipeline::Params *params); - virtual ~UseDefUnit() {} - virtual ResourceRequest* getRequest(DynInstPtr _inst, int stage_num, + ResourceRequest* getRequest(DynInstPtr _inst, int stage_num, int res_idx, int slot_num, unsigned cmd); - virtual ResReqPtr findRequest(DynInstPtr inst); + ResReqPtr findRequest(DynInstPtr inst); - virtual void execute(int slot_num); + void execute(int slot_num); - virtual void squash(DynInstPtr inst, int stage_num, + void squash(DynInstPtr inst, int stage_num, InstSeqNum squash_seq_num, ThreadID tid); void updateAfterContextSwitch(DynInstPtr inst, ThreadID tid); |