mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-07 20:50:56 +00:00
split the assert so that its more obvious which
part is failing git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5864
This commit is contained in:
parent
67ce2183c9
commit
a0d79c6e9f
@ -1694,7 +1694,8 @@ ML_(generic_POST_sys_shmdt) ( ThreadId tid, UWord res, UWord arg0 )
|
||||
SizeT s_len = s->end+1 - s->start;
|
||||
Bool d;
|
||||
|
||||
vg_assert(s->kind == SkShmC && s->start == arg0);
|
||||
vg_assert(s->kind == SkShmC);
|
||||
vg_assert(s->start == arg0);
|
||||
|
||||
d = VG_(am_notify_munmap)(s_start, s_len);
|
||||
s = NULL; /* s is now invalid */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user