diff options
Diffstat (limited to 'src/cpu/decode_cache.hh')
-rw-r--r-- | src/cpu/decode_cache.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/decode_cache.hh b/src/cpu/decode_cache.hh index c451cbb69..2d33455e0 100644 --- a/src/cpu/decode_cache.hh +++ b/src/cpu/decode_cache.hh @@ -47,7 +47,8 @@ namespace DecodeCache { /// Hash for decoded instructions. -typedef std::unordered_map<TheISA::ExtMachInst, StaticInstPtr> InstMap; +template <typename EMI> +using InstMap = std::unordered_map<EMI, StaticInstPtr>; /// A sparse map from an Addr to a Value, stored in page chunks. template<class Value> |