Fixes to get new CPU model working for simple test case. The CPU does not yet suppor...
[gem5.git] / src / cpu / o3 / mem_dep_unit.cc
index 1284361cc62d267705c0dafff081ecdca24ed751..a95103266850b45a11f6bf2100332037e5b57756 100644 (file)
@@ -37,6 +37,7 @@
 // AlphaSimpleImpl.
 template class MemDepUnit<StoreSet, AlphaSimpleImpl>;
 
+#ifdef DEBUG
 template <>
 int
 MemDepUnit<StoreSet, AlphaSimpleImpl>::MemDepEntry::memdep_count = 0;
@@ -46,3 +47,4 @@ MemDepUnit<StoreSet, AlphaSimpleImpl>::MemDepEntry::memdep_insert = 0;
 template <>
 int
 MemDepUnit<StoreSet, AlphaSimpleImpl>::MemDepEntry::memdep_erase = 0;
+#endif