summaryrefslogtreecommitdiff
path: root/src/mem/cache
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-10-18 08:24:24 -0700
committerSteve Reinhardt <stever@eecs.umich.edu>2006-10-18 08:24:24 -0700
commitcaf123586ff4b119f5a356123ab58aa1ee6a5848 (patch)
treeb1b4ca5ba986bee4f4897cc8bc9cf7aedcf58e14 /src/mem/cache
parent6cd187e1f066b084740b4b202f1de644ba06f299 (diff)
downloadgem5-caf123586ff4b119f5a356123ab58aa1ee6a5848.tar.xz
Get rid of doData() lines (were already commented out).
Reindent due to resulting changes in nesting. --HG-- extra : convert_revision : 6be099d572efb618efb08fbc06d7e0e4b5b4cab2
Diffstat (limited to 'src/mem/cache')
-rw-r--r--src/mem/cache/tags/iic.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mem/cache/tags/iic.cc b/src/mem/cache/tags/iic.cc
index 0fdfadd32..bf1d9ece4 100644
--- a/src/mem/cache/tags/iic.cc
+++ b/src/mem/cache/tags/iic.cc
@@ -711,8 +711,8 @@ IIC::invalidateBlk(Addr addr)
}
void
-IIC::readData(IICTag *blk, uint8_t *data){
-// assert(cache->doData());
+IIC::readData(IICTag *blk, uint8_t *data)
+{
assert(blk->size <= trivialSize || blk->numData > 0);
int data_size = blk->size;
if (data_size > trivialSize) {
@@ -729,8 +729,8 @@ IIC::readData(IICTag *blk, uint8_t *data){
void
IIC::writeData(IICTag *blk, uint8_t *write_data, int size,
- PacketList & writebacks){
-// assert(cache->doData());
+ PacketList & writebacks)
+{
assert(size < blkSize || !blk->isCompressed());
DPRINTF(IIC, "Writing %d bytes to %x\n", size,
blk->tag<<tagShift);