summaryrefslogtreecommitdiff
path: root/src/cpu/o3/thread_context_impl.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-03-13 17:34:52 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-03-13 17:34:52 -0400
commitc6188a226472c23f173b04b0fa86614cf717c9e7 (patch)
tree03caf798ca20c89d33c5444c10d3f39e9595e41f /src/cpu/o3/thread_context_impl.hh
parenta068d6db0fff7056abb06bb8a99494b63bd169e1 (diff)
downloadgem5-c6188a226472c23f173b04b0fa86614cf717c9e7.tar.xz
fix segfault when peer owner attempts to use functional port
--HG-- extra : convert_revision : 3702b4bd038a59bff823c3b428fdfbaabc9715df
Diffstat (limited to 'src/cpu/o3/thread_context_impl.hh')
-rwxr-xr-xsrc/cpu/o3/thread_context_impl.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/thread_context_impl.hh b/src/cpu/o3/thread_context_impl.hh
index d2acc6232..a145e046e 100755
--- a/src/cpu/o3/thread_context_impl.hh
+++ b/src/cpu/o3/thread_context_impl.hh
@@ -103,7 +103,7 @@ void
O3ThreadContext<Impl>::delVirtPort(VirtualPort *vp)
{
if (vp != thread->getVirtPort()) {
- delete vp->getPeer();
+ vp->removeConn();
delete vp;
}
}