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_region_contain(), use the method instead
[simgrid.git]
/
src
/
mc
/
mc_compare.cpp
diff --git
a/src/mc/mc_compare.cpp
b/src/mc/mc_compare.cpp
index
174b889
..
89b495b
100644
(file)
--- a/
src/mc/mc_compare.cpp
+++ b/
src/mc/mc_compare.cpp
@@
-208,8
+208,8
@@
static int compare_areas_with_type(struct mc_compare_state& state,
}
// The pointers are both in the current object R/W segment:
}
// The pointers are both in the current object R/W segment:
- else if (
mc_region_contain(region1, addr_pointed1
)) {
- if (!
mc_region_contain(region2, addr_pointed2
))
+ else if (
region1->contain(simgrid::mc::remote(addr_pointed1)
)) {
+ if (!
region2->contain(simgrid::mc::remote(addr_pointed2)
))
return 1;
if (type->dw_type_id == NULL)
return (addr_pointed1 != addr_pointed2);
return 1;
if (type->dw_type_id == NULL)
return (addr_pointed1 != addr_pointed2);