Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : ignore stack_top of maestro context for heap comparison
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Wed, 1 Aug 2012 13:49:04 +0000 (15:49 +0200)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Wed, 1 Aug 2012 13:54:42 +0000 (15:54 +0200)
src/simix/smx_context_raw.c

index a3b9473..2b94104 100644 (file)
@@ -331,6 +331,10 @@ smx_ctx_raw_create_context(xbt_main_func_t code, int argc, char **argv,
 
      } else {
        raw_maestro_context = context;
+
+       if(MC_IS_ENABLED)
+         MC_ignore(&(raw_maestro_context->stack_top), sizeof(raw_maestro_context->stack_top));
+
      }
 
      return (smx_context_t) context;