-/* Copyright (c) 2010. The SimGrid Team.
+/* Copyright (c) 2010, 2012-2013. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
task->counter = counter++;
task->category = NULL;
- if(MC_is_active()){
- MC_ignore_data_bss(&counter, sizeof(counter));
+ if(MC_is_active())
MC_ignore_heap(&(task->counter), sizeof(task->counter));
- }
XBT_DEBUG("CREATE %p, %lld", task, task->counter);
}