formatting

This commit is contained in:
Nils Hölscher 2022-04-20 13:36:41 +02:00
parent 384be83c13
commit e0fd75ff1c
3 changed files with 11 additions and 13 deletions

View File

@ -71,9 +71,9 @@ public: // everything is public, because IDGAF
AbstractState(unsigned int AddressIn) { Addr = AddressIn; }
AbstractState(Address Addr) { Sets[Addr.Index].Associativity[0] = {{Addr.Tag}}; }
AbstractState(Address Addr) {
Sets[Addr.Index].Associativity[0] = {{Addr.Tag}};
}
/**
* @brief Executes an Must LRU Join on the AbstractCacheState

View File

@ -1,7 +1,7 @@
#ifndef CONCRETESTATE_H
#define CONCRETESTATE_H
//Currently Unused.
// Currently Unused.
#include <cassert>
#include <cstddef>
@ -33,9 +33,7 @@ public: // everything is public, because IDGAF
std::map<unsigned int, Set> Sets;
ConcreteState(Address Addr) {
Sets[Addr.Index].Entries[0]= Addr.Tag;
}
ConcreteState(Address Addr) { Sets[Addr.Index].Entries[0] = Addr.Tag; }
}; // namespace
#endif // CONCRETESTATE_H