mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Merge equivalent if statements.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2533
This commit is contained in:
parent
5cb175294a
commit
3dc7eebda2
@ -286,9 +286,7 @@ void* VG_(mmap)( void* start, UInt length,
|
||||
} else {
|
||||
vg_assert(VG_(valgrind_base) <= res && res+length < VG_(valgrind_end));
|
||||
}
|
||||
}
|
||||
|
||||
if (!VG_(is_kerror)(res)) {
|
||||
sf_flags |= SF_MMAP;
|
||||
if ( flags & VKI_MAP_FIXED) sf_flags |= SF_FIXED;
|
||||
if ( flags & VKI_MAP_SHARED) sf_flags |= SF_SHARED;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user