From: Gabe Black Date: Sun, 7 Aug 2011 22:41:10 +0000 (-0700) Subject: O3: Get rid of the unused addToRemoveList function. X-Git-Tag: stable_2012_02_02~144 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c0e6e6092bd532d861445c735fb5eba865f999d;p=gem5.git O3: Get rid of the unused addToRemoveList function. --- diff --git a/src/cpu/o3/cpu.cc b/src/cpu/o3/cpu.cc index cd4a3e867..441bd4389 100644 --- a/src/cpu/o3/cpu.cc +++ b/src/cpu/o3/cpu.cc @@ -1418,15 +1418,6 @@ FullO3CPU::instDone(ThreadID tid) system->instEventQueue.serviceEvents(system->totalNumInsts); } -template -void -FullO3CPU::addToRemoveList(DynInstPtr &inst) -{ - removeInstsThisCycle = true; - - removeList.push(inst->getInstListIt()); -} - template void FullO3CPU::removeFrontInst(DynInstPtr &inst) diff --git a/src/cpu/o3/cpu.hh b/src/cpu/o3/cpu.hh index 43a2b100d..7095e52ec 100644 --- a/src/cpu/o3/cpu.hh +++ b/src/cpu/o3/cpu.hh @@ -474,9 +474,6 @@ class FullO3CPU : public BaseO3CPU /** Function to tell the CPU that an instruction has completed. */ void instDone(ThreadID tid); - /** Add Instructions to the CPU Remove List*/ - void addToRemoveList(DynInstPtr &inst); - /** Remove an instruction from the front end of the list. There's * no restriction on location of the instruction. */