From 5c0e6e6092bd532d861445c735fb5eba865f999d Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 7 Aug 2011 15:41:10 -0700 Subject: [PATCH] O3: Get rid of the unused addToRemoveList function. --- src/cpu/o3/cpu.cc | 9 --------- src/cpu/o3/cpu.hh | 3 --- 2 files changed, 12 deletions(-) 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. */ -- 2.30.2