summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/resources/decode_unit.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2010-06-24 15:34:19 -0400
committerKorey Sewell <ksewell@umich.edu>2010-06-24 15:34:19 -0400
commit71b67d408bb595471a57dbe8e40cf5ac82c5d3b7 (patch)
tree4f0b3bc4fd671a4476799cdce0c282f970d313cc /src/cpu/inorder/resources/decode_unit.hh
parentf95430d97e0a9a77b920ab3ca24b134bc682f655 (diff)
downloadgem5-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.hh3
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);