From 71b67d408bb595471a57dbe8e40cf5ac82c5d3b7 Mon Sep 17 00:00:00 2001 From: Korey Sewell Date: Thu, 24 Jun 2010 15:34:19 -0400 Subject: inorder: cleanup virtual functions remove the annotation 'virtual' from function declaration that isnt being derived from --- src/cpu/inorder/resources/inst_buffer.hh | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/cpu/inorder/resources/inst_buffer.hh') diff --git a/src/cpu/inorder/resources/inst_buffer.hh b/src/cpu/inorder/resources/inst_buffer.hh index b655e132f..fcbdc20df 100644 --- a/src/cpu/inorder/resources/inst_buffer.hh +++ b/src/cpu/inorder/resources/inst_buffer.hh @@ -57,21 +57,20 @@ class InstBuffer : public Resource { public: InstBuffer(std::string res_name, int res_id, int res_width, int res_latency, InOrderCPU *_cpu, ThePipeline::Params *params); - virtual ~InstBuffer() {} - virtual void regStats(); + void regStats(); - virtual void execute(int slot_num); + void execute(int slot_num); - virtual void insert(DynInstPtr inst); + void insert(DynInstPtr inst); - virtual void remove(DynInstPtr inst); + void remove(DynInstPtr inst); - virtual void pop(ThreadID tid); + void pop(ThreadID tid); - virtual DynInstPtr top(ThreadID tid); + DynInstPtr top(ThreadID tid); - virtual void squash(DynInstPtr inst, int stage_num, + void squash(DynInstPtr inst, int stage_num, InstSeqNum squash_seq_num, ThreadID tid); protected: /** List of instructions this resource is currently -- cgit v1.2.3