]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
wibble
authorNicholas Nethercote <njn@valgrind.org>
Wed, 14 May 2003 12:42:14 +0000 (12:42 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Wed, 14 May 2003 12:42:14 +0000 (12:42 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1632

coregrind/vg_hashtable.c

index d3083e98ccdae4159468e436494d48981a67e59b..42e7b1782d4fee80e30346e1880918ad8434a17d 100644 (file)
@@ -113,7 +113,7 @@ void sort_hash_array ( VgHashNode** shadows, UInt n_shadows )
 
    bigN = hi - lo + 1; if (bigN < 2) return;
    hp = 0; while (hp < 14 && incs[hp] < bigN) hp++; hp--;
-   sk_assert(0 <= hp && hp < 14);
+   vg_assert(0 <= hp && hp < 14);
 
    for (; hp >= 0; hp--) {
       h = incs[hp];
@@ -161,13 +161,13 @@ VgHashNode** VG_(HT_to_sorted_array) ( VgHashTable table,
          arr[j++] = node;
       }
    }
-   sk_assert(j == *n_shadows);
+   vg_assert(j == *n_shadows);
 
    sort_hash_array(arr, *n_shadows);
 
    /* Sanity check; assert that the blocks are now in order */
    for (i = 0; i < *n_shadows-1; i++) {
-      sk_assert( arr[i]->key < arr[i+1]->key );
+      vg_assert( arr[i]->key < arr[i+1]->key );
    }
 
    return arr;