O3ThreadContext: When taking over from a previous context, only assert that

the system pointers match in Full System mode.
This commit is contained in:
Timothy M. Jones 2010-06-23 00:53:17 +01:00
parent 625854785b
commit 96767fc721

View file

@ -55,8 +55,9 @@ void
O3ThreadContext<Impl>::takeOverFrom(ThreadContext *old_context)
{
// some things should already be set up
#if FULL_SYSTEM
assert(getSystemPtr() == old_context->getSystemPtr());
#if !FULL_SYSTEM
#else
assert(getProcessPtr() == old_context->getProcessPtr());
#endif