projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support compilation with gcc 4.7
[riscv-isa-sim.git]
/
riscv
/
cachesim.h
diff --git
a/riscv/cachesim.h
b/riscv/cachesim.h
index d5dcf38930e0dfeac1933fba51de8068075e6bc2..96631a0d5abc382af0737af1ed2c59e27b70ff1e 100644
(file)
--- a/
riscv/cachesim.h
+++ b/
riscv/cachesim.h
@@
-22,7
+22,7
@@
class cache_sim_t
public:
cache_sim_t(size_t sets, size_t ways, size_t linesz, const char* name);
cache_sim_t(const cache_sim_t& rhs);
- ~cache_sim_t();
+
virtual
~cache_sim_t();
void access(uint64_t addr, size_t bytes, bool store);
void print_stats();