From: Steve Reinhardt Date: Sat, 14 Oct 2006 06:09:05 +0000 (-0400) Subject: Get rid of unused CacheBlk << output operator. X-Git-Tag: m5_2.0_beta2~90^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9202422d6ebb7a17936bee1b9aaa427541156d13;p=gem5.git Get rid of unused CacheBlk << output operator. --HG-- extra : convert_revision : d5c0aadc35edf5c9495afcd3375f1f64716ef845 --- diff --git a/src/mem/cache/cache_blk.hh b/src/mem/cache/cache_blk.hh index a75c9611d..078c82d82 100644 --- a/src/mem/cache/cache_blk.hh +++ b/src/mem/cache/cache_blk.hh @@ -38,8 +38,6 @@ #include "sim/root.hh" // for Tick #include "arch/isa_traits.hh" // for Addr -#include - /** * 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__