mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
VG_(findBoundsFM): add comment re preconditions
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9085
This commit is contained in:
parent
9d04a7c226
commit
f0bf7aaf10
@ -676,6 +676,8 @@ Bool VG_(findBoundsFM)( WordFM* fm,
|
||||
UWord maxKey, UWord maxVal,
|
||||
UWord key )
|
||||
{
|
||||
/* really we should assert that minKey <= key <= maxKey,
|
||||
where <= is as defined by fm->kCmp. */
|
||||
return avl_find_bounds( fm->root, kMinP, vMinP,
|
||||
kMaxP, vMaxP,
|
||||
minKey, minVal,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user