diff options
Diffstat (limited to 'src/cpu/simple/probes/simpoint.cc')
-rw-r--r-- | src/cpu/simple/probes/simpoint.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/simple/probes/simpoint.cc b/src/cpu/simple/probes/simpoint.cc index 22eaad086..f2c0be62b 100644 --- a/src/cpu/simple/probes/simpoint.cc +++ b/src/cpu/simple/probes/simpoint.cc @@ -77,7 +77,7 @@ void SimPoint::profile(const std::pair<SimpleThread*, StaticInstPtr>& p) { SimpleThread* thread = p.first; - StaticInstPtr inst = p.second; + const StaticInstPtr &inst = p.second; if (!currentBBVInstCount) currentBBV.first = thread->pcState().instAddr(); |