misc: Replace M5_VAR_USED with GEM5_VAR_USED.
Change-Id: I64a874ccd1a9ac0541dfa01971d7d620a98c9d32 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45231 Tested-by: kokoro <noreply+kokoro@google.com> Maintainer: Gabe Black <gabe.black@gmail.com> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
This commit is contained in:
@@ -229,7 +229,7 @@ SimpleCache::handleResponse(PacketPtr pkt)
|
||||
DPRINTF(SimpleCache, "Copying data from new packet to old\n");
|
||||
// We had to upgrade a previous packet. We can functionally deal with
|
||||
// the cache access now. It better be a hit.
|
||||
M5_VAR_USED bool hit = accessFunctional(originalPacket);
|
||||
GEM5_VAR_USED bool hit = accessFunctional(originalPacket);
|
||||
panic_if(!hit, "Should always hit after inserting");
|
||||
originalPacket->makeResponse();
|
||||
delete pkt; // We may need to delay this, I'm not sure.
|
||||
|
||||
Reference in New Issue
Block a user