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
Kill dead code.
[simgrid.git]
/
src
/
mc
/
mc_base.cpp
diff --git
a/src/mc/mc_base.cpp
b/src/mc/mc_base.cpp
index 6ffa2c5051896b8f52fa8c457225eb7de37152ce..c6072eac26ec11a356be1af0322f1ff91cd34cc5 100644
(file)
--- a/
src/mc/mc_base.cpp
+++ b/
src/mc/mc_base.cpp
@@
-80,14
+80,9
@@
void execute_actors()
// Called from both MCer and MCed:
bool actor_is_enabled(smx_actor_t actor)
{
// Called from both MCer and MCed:
bool actor_is_enabled(smx_actor_t actor)
{
-// #del
#if SIMGRID_HAVE_MC
#if SIMGRID_HAVE_MC
- // If in the MCer, ask the client app since it has all the data
- if (mc_model_checker != nullptr) {
- return simgrid::mc::session_singleton->actor_is_enabled(actor->get_pid());
- }
+ xbt_assert(mc_model_checker == nullptr, "This should be called from the client side");
#endif
#endif
-// #
// Now, we are in the client app, no need for remote memory reading.
smx_simcall_t req = &actor->simcall_;
// Now, we are in the client app, no need for remote memory reading.
smx_simcall_t req = &actor->simcall_;