Misc tweaks in segAddr_to_index:
(1) It is always invalid for the incoming segment pointer to be
    out of range. Assert that.
(2) Let the compiler do the address arithmetic. They're good at that
    and therefore:
(3) No asserts needed to check the result.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14933 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 file changed