X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/26af220e017a088b56105b2f21fadecf7d6e2a88..ab1a5770e72e90720fb1f2dc0901cda2573b208b:/src/mc/mc_client_api.cpp diff --git a/src/mc/mc_client_api.cpp b/src/mc/mc_client_api.cpp index 179033ba13..f48a80cbc5 100644 --- a/src/mc/mc_client_api.cpp +++ b/src/mc/mc_client_api.cpp @@ -58,15 +58,10 @@ void MC_ignore(void* addr, size_t size) if (mc_mode == MC_MODE_CLIENT) { s_mc_ignore_memory_message_t message; message.type = MC_MESSAGE_IGNORE_MEMORY; - message.addr = addr; + message.addr = (std::uintptr_t) addr; message.size = size; MC_client_send_message(&message, sizeof(message)); } - - // TODO, remove this once the migration has been completed - xbt_mheap_t heap = mmalloc_set_current_heap(mc_heap); - MC_process_ignore_memory(&mc_model_checker->process(), addr, size); - mmalloc_set_current_heap(heap); } }