diff options
author | Gabe Black <gabeblack@google.com> | 2019-11-27 04:13:11 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-11-28 07:14:57 +0000 |
commit | 078bdc86617e096d545b253f359ab27d5b3fdced (patch) | |
tree | c7de2e656216054c7668b2fe410287a2a6f8fc3f /src/mem | |
parent | 6ff7e6db89844f2f5febc9e6647945d7a4b9dee4 (diff) | |
download | gem5-078bdc86617e096d545b253f359ab27d5b3fdced.tar.xz |
mem-cache: Avoid hiding a virtual method in the dictionary compressor.
The non-virtual version is later used in overrides of the virtual
version whcih takes more arguments.
Change-Id: I102d1185c7a616337c2a0429daa998706189292f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23127
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/cache/compressors/dictionary_compressor.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/cache/compressors/dictionary_compressor.hh b/src/mem/cache/compressors/dictionary_compressor.hh index 1615990b4..5eb5f0654 100644 --- a/src/mem/cache/compressors/dictionary_compressor.hh +++ b/src/mem/cache/compressors/dictionary_compressor.hh @@ -230,6 +230,8 @@ class DictionaryCompressor : public BaseDictionaryCompressor std::unique_ptr<BaseCacheCompressor::CompressionData> compress( const uint64_t* data); + using BaseDictionaryCompressor::compress; + /** * Decompress data. * |