X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9a4ec91cc24a9a54ff3a060cc2828ac54d0c0c26..5f5a10db6fc4552782638abb4817041223e17775:/src/kernel/context/ContextUnix.cpp diff --git a/src/kernel/context/ContextUnix.cpp b/src/kernel/context/ContextUnix.cpp index 98e372daf3..2061a2535e 100644 --- a/src/kernel/context/ContextUnix.cpp +++ b/src/kernel/context/ContextUnix.cpp @@ -60,11 +60,6 @@ UContext::UContext(std::function&& code, actor::ActorImpl* actor, Swappe UContext* arg = this; memcpy(ctx_addr, &arg, sizeof arg); makecontext(&this->uc_, (void (*)())sysv_ctx_wrapper, 2, ctx_addr[0], ctx_addr[1]); - -#if SIMGRID_HAVE_STATEFUL_MC - if (MC_is_active()) - simgrid::mc::AppSide::get()->declare_stack(get_stack(), stack_size, &uc_); -#endif } }