mem: Add constexprs to spatio_temporal_memory_streaming.cc

Change-Id: I6fa3d9f9a9d89d59d9ec1fc97c152bea3059f87d
This commit is contained in:
Erin Le
2024-08-06 00:06:38 +00:00
parent f325949ba5
commit 6dbe2bca7b

View File

@@ -92,7 +92,7 @@ STeMS::checkForActiveGenerationsEnd(const CacheAccessor &cache)
}
if (generation_ended) {
// PST is indexed using the PC (secure bit is unused)
bool is_secure = false;
constexpr bool is_secure = false;
auto pst_entry = patternSequenceTable.findEntry(pst_addr,
is_secure);
if (pst_entry == nullptr) {
@@ -222,7 +222,7 @@ STeMS::reconstructSequence(
// Now query the PST with the PC of each RMOB entry
idx = 0;
bool is_secure = false;
constexpr bool is_secure = false;
for (auto it = rmob_it; it != rmob.end() && (idx < reconstructionEntries);
it++) {
auto pst_entry = patternSequenceTable.findEntry(it->pstAddress,