X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d656f9465e7b1c36319f86eeafdcec58fe9551a4..d4c5782fb4da7b7cf83b66df05197bd597796f70:/src/mc/mc_snapshot.hpp diff --git a/src/mc/mc_snapshot.hpp b/src/mc/mc_snapshot.hpp index 6eab44490c..12325d10d2 100644 --- a/src/mc/mc_snapshot.hpp +++ b/src/mc/mc_snapshot.hpp @@ -199,10 +199,9 @@ static XBT_ALWAYS_INLINE const void* MC_region_read(mc_mem_region_t region, void if (simgrid::mc::mmu::sameChunk((std::uintptr_t)addr, (std::uintptr_t)end)) { // The memory is contained in a single page: return mc_translate_address_region_chunked((uintptr_t)addr, region); - } else { - // The memory spans several pages: - return MC_region_read_fragmented(region, target, addr, size); } + // Otherwise, the memory spans several pages: + return MC_region_read_fragmented(region, target, addr, size); } default: