Merge ktlim@zizzer:/bk/newmem
into zamp.eecs.umich.edu:/z/ktlim2/clean/tmp/head --HG-- extra : convert_revision : 4a8cbb65b19636c31b5c6fd5f24c90f8f2148ed1
This commit is contained in:
commit
9e1f3bc11a
1 changed files with 5 additions and 4 deletions
|
@ -57,6 +57,11 @@ LSQUnit<Impl>::WritebackEvent::process()
|
|||
if (!lsqPtr->isSwitchedOut()) {
|
||||
lsqPtr->writeback(inst, pkt);
|
||||
}
|
||||
|
||||
if (pkt->senderState)
|
||||
delete pkt->senderState;
|
||||
|
||||
delete pkt->req;
|
||||
delete pkt;
|
||||
}
|
||||
|
||||
|
@ -80,10 +85,6 @@ LSQUnit<Impl>::completeDataAccess(PacketPtr pkt)
|
|||
|
||||
if (isSwitchedOut() || inst->isSquashed()) {
|
||||
iewStage->decrWb(inst->seqNum);
|
||||
delete state;
|
||||
delete pkt->req;
|
||||
delete pkt;
|
||||
return;
|
||||
} else {
|
||||
if (!state->noWB) {
|
||||
writeback(inst, pkt);
|
||||
|
|
Loading…
Reference in a new issue