summaryrefslogtreecommitdiff
path: root/tests/id.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/id.cc')
-rw-r--r--tests/id.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/id.cc b/tests/id.cc
index f460505..65cc16a 100644
--- a/tests/id.cc
+++ b/tests/id.cc
@@ -12,10 +12,8 @@ class IDFixture
public:
IDFixture()
{
- Dram *dr;
-
this->dr = new Dram(3);
- this->c = new Cache(dr, 1);
+ this->c = new Cache(this->dr, 1);
IF *f = new IF(nullptr);
this->d = new ID(f);
this->ct = new Controller(this->d, this->c, true);