O3ThreadContext: When taking over from a previous context, only assert that
the system pointers match in Full System mode.
This commit is contained in:
parent
625854785b
commit
96767fc721
|
@ -55,8 +55,9 @@ void
|
||||||
O3ThreadContext<Impl>::takeOverFrom(ThreadContext *old_context)
|
O3ThreadContext<Impl>::takeOverFrom(ThreadContext *old_context)
|
||||||
{
|
{
|
||||||
// some things should already be set up
|
// some things should already be set up
|
||||||
|
#if FULL_SYSTEM
|
||||||
assert(getSystemPtr() == old_context->getSystemPtr());
|
assert(getSystemPtr() == old_context->getSystemPtr());
|
||||||
#if !FULL_SYSTEM
|
#else
|
||||||
assert(getProcessPtr() == old_context->getProcessPtr());
|
assert(getProcessPtr() == old_context->getProcessPtr());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue