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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user