Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix MC builds
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 9 Jan 2019 07:18:16 +0000 (08:18 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 9 Jan 2019 07:18:16 +0000 (08:18 +0100)
src/kernel/context/ContextUnix.cpp

index 0ad3f4e..86191d2 100644 (file)
@@ -60,7 +60,7 @@ UContext::UContext(std::function<void()> code, void_pfn_smxprocess_t cleanup_fun
 
 #if SIMGRID_HAVE_MC
   if (MC_is_active() && has_code()) {
 
 #if SIMGRID_HAVE_MC
   if (MC_is_active() && has_code()) {
-    MC_register_stack_area(this->stack_, process, &(this->uc_), smx_context_usable_stack_size);
+    MC_register_stack_area(get_stack(), process, &(this->uc_), smx_context_usable_stack_size);
   }
 #endif
 }
   }
 #endif
 }