Deleted Added
sdiff udiff text old ( 11168:f98eb2da15a4 ) new ( 12621:982f22db6230 )
full compact
1/*
2 * Copyright (c) 2011 Google
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 33 unchanged lines hidden (view full) ---

42{
43 class Decoder;
44}
45
46namespace DecodeCache
47{
48
49/// Hash for decoded instructions.
50typedef std::unordered_map<TheISA::ExtMachInst, StaticInstPtr> InstMap;
51
52/// A sparse map from an Addr to a Value, stored in page chunks.
53template<class Value>
54class AddrMap
55{
56 protected:
57 // A pages worth of cache entries.
58 struct CachePage {

--- 72 unchanged lines hidden ---