|
From: <sv...@va...> - 2015-08-05 13:26:05
|
Author: florian
Date: Wed Aug 5 14:25:58 2015
New Revision: 15493
Log:
Add a comment.
Modified:
trunk/coregrind/m_xarray.c
Modified: trunk/coregrind/m_xarray.c
==============================================================================
--- trunk/coregrind/m_xarray.c (original)
+++ trunk/coregrind/m_xarray.c Wed Aug 5 14:25:58 2015
@@ -278,6 +278,9 @@
return VG_(lookupXA_UNSAFE)(xa, key, first, last, xa->cmpFn);
}
+/* FIXME: This function should return an unsigned value because the number
+ of elements cannot be negative. Unfortunately, making the change causes
+ a lot of ripple. */
Word VG_(sizeXA) ( const XArray* xa )
{
vg_assert(xa);
|