Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
changelog update
[simgrid.git] / src / kernel / context / ContextRaw.cpp
index 1c29c667a6fda3a53015dc68729ab1fa93dbe8b3..de72fce947efe004b82bc5e9a5359a395dec8754 100644 (file)
@@ -190,8 +190,6 @@ RawContext::RawContext(std::function<void()>&& code, actor::ActorImpl* actor, Sw
   XBT_VERB("Creating a context of stack %uMb", actor->get_stacksize() / 1024 / 1024);
   if (has_code()) {
     this->stack_top_ = raw_makecontext(get_stack(), actor->get_stacksize(), smx_ctx_wrapper, this);
-  } else {
-    MC_ignore_heap(&stack_top_, sizeof stack_top_);
   }
 }