A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mc] Remove MC_automaton_new_propositional_symbol_callback()
[simgrid.git]
/
src
/
mc
/
mc_client_api.cpp
diff --git
a/src/mc/mc_client_api.cpp
b/src/mc/mc_client_api.cpp
index
179033b
..
f48a80c
100644
(file)
--- 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;
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));
}
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);
}
}
}
}