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 useless parts in mmalloc_compare_heap, MC_take_snapshot_stacks, snapshot_...
[simgrid.git]
/
src
/
mc
/
mc_compare.c
diff --git
a/src/mc/mc_compare.c
b/src/mc/mc_compare.c
index
77533e7
..
60bc78f
100644
(file)
--- a/
src/mc/mc_compare.c
+++ b/
src/mc/mc_compare.c
@@
-607,8
+607,7
@@
int snapshot_compare(void *state1, void *state2)
#endif
/* Compare heap */
- if (mmalloc_compare_heap(s1, s2, (xbt_mheap_t) s1->regions[0]->data,
- (xbt_mheap_t) s2->regions[0]->data) > 0) {
+ if (mmalloc_compare_heap(s1, s2) > 0) {
#ifdef MC_DEBUG
xbt_os_walltimer_stop(timer);