diff options
author | Kevin Lim <ktlim@umich.edu> | 2007-04-04 00:14:44 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2007-04-04 00:14:44 -0400 |
commit | 9e1f3bc11a0f8cdb3bbb1ce12d4cd77d4c2c96c3 (patch) | |
tree | 24cc6a7dc9a2a37d8e370f3b8c546e84dbfe781e | |
parent | 30f101881faad95e4a51fcb7bd7f564d660faae4 (diff) | |
parent | 98c8cd0b36c31a30229d408ddb9e397e8d1364fe (diff) | |
download | gem5-9e1f3bc11a0f8cdb3bbb1ce12d4cd77d4c2c96c3.tar.xz |
Merge ktlim@zizzer:/bk/newmem
into zamp.eecs.umich.edu:/z/ktlim2/clean/tmp/head
--HG--
extra : convert_revision : 4a8cbb65b19636c31b5c6fd5f24c90f8f2148ed1
-rw-r--r-- | src/cpu/o3/lsq_unit_impl.hh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/cpu/o3/lsq_unit_impl.hh b/src/cpu/o3/lsq_unit_impl.hh index 0a3021046..493144919 100644 --- a/src/cpu/o3/lsq_unit_impl.hh +++ b/src/cpu/o3/lsq_unit_impl.hh @@ -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); |