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/decode_unit.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/decode_unit.hh')
-rw-r--r-- | src/cpu/inorder/resources/decode_unit.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/inorder/resources/decode_unit.hh b/src/cpu/inorder/resources/decode_unit.hh index 1a700c211..1c4dc0523 100644 --- a/src/cpu/inorder/resources/decode_unit.hh +++ b/src/cpu/inorder/resources/decode_unit.hh @@ -49,13 +49,12 @@ class DecodeUnit : public Resource { public: DecodeUnit(std::string res_name, int res_id, int res_width, int res_latency, InOrderCPU *_cpu, ThePipeline::Params *params); - virtual ~DecodeUnit() {} enum Command { DecodeInst }; - virtual void execute(int slot_num); + void execute(int slot_num); void squash(DynInstPtr inst, int stage_num, InstSeqNum squash_seq_num, ThreadID tid); |