diff options
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/abstract_mem.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/abstract_mem.cc b/src/mem/abstract_mem.cc index 13a1183a2..1b28a2319 100644 --- a/src/mem/abstract_mem.cc +++ b/src/mem/abstract_mem.cc @@ -390,6 +390,7 @@ AbstractMemory::functionalAccess(PacketPtr pkt) } else if (pkt->isPrint()) { Packet::PrintReqState *prs = dynamic_cast<Packet::PrintReqState*>(pkt->senderState); + assert(prs); // Need to call printLabels() explicitly since we're not going // through printObj(). prs->printLabels(); |