]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
comment-only change
authorNicholas Nethercote <njn@valgrind.org>
Sun, 13 Mar 2005 18:53:34 +0000 (18:53 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sun, 13 Mar 2005 18:53:34 +0000 (18:53 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3346

coregrind/vg_malloc2.c

index bf1cbd67f9e8e381cecdb43919c20623390772ac..248fc5ba3344b2db7ca41f529b924041afe34e08 100644 (file)
@@ -1338,8 +1338,8 @@ void* VG_(realloc) ( void* ptr, SizeT size )
 
 void* VG_(cli_malloc) ( SizeT align, SizeT nbytes )                 
 {                                                                             
-   // 'align' should be valid by now.  arena_malloc_aligned() will
-   // abort if it's not.
+   // 'align' should be valid (ie. big enough and a power of two) by now.
+   // arena_malloc_aligned() will abort if it's not.
    if (VG_MIN_MALLOC_SZB == align)
       return VG_(arena_malloc)    ( VG_AR_CLIENT, nbytes ); 
    else