Get rid of unused CacheBlk << output operator.
--HG-- extra : convert_revision : d5c0aadc35edf5c9495afcd3375f1f64716ef845
This commit is contained in:
parent
c2a6550366
commit
9202422d6e
19
src/mem/cache/cache_blk.hh
vendored
19
src/mem/cache/cache_blk.hh
vendored
|
@ -38,8 +38,6 @@
|
||||||
#include "sim/root.hh" // for Tick
|
#include "sim/root.hh" // for Tick
|
||||||
#include "arch/isa_traits.hh" // for Addr
|
#include "arch/isa_traits.hh" // for Addr
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cache block status bit assignments
|
* Cache block status bit assignments
|
||||||
*/
|
*/
|
||||||
|
@ -180,21 +178,4 @@ class CacheBlk
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* Output a CacheBlk to the given ostream.
|
|
||||||
* @param out The stream for the output.
|
|
||||||
* @param blk The cache block to print.
|
|
||||||
*
|
|
||||||
* @return The output stream.
|
|
||||||
*/
|
|
||||||
inline std::ostream &
|
|
||||||
operator<<(std::ostream &out, const CacheBlk &blk)
|
|
||||||
{
|
|
||||||
out << std::hex << std::endl;
|
|
||||||
out << " Tag: " << blk.tag << std::endl;
|
|
||||||
out << " Status: " << blk.status << std::endl;
|
|
||||||
|
|
||||||
return(out << std::dec);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif //__CACHE_BLK_HH__
|
#endif //__CACHE_BLK_HH__
|
||||||
|
|
Loading…
Reference in a new issue