Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[simgrid.git] / src / kernel / context / ContextRaw.cpp
index 0cc59ed..de72fce 100644 (file)
@@ -4,8 +4,8 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "ContextRaw.hpp"
-#include "mc/mc.h"
 #include "simgrid/Exception.hpp"
+#include "src/mc/mc.h"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(ker_context);
 
@@ -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_);
   }
 }