]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Removed commented-out tracing statements.
authorBart Van Assche <bvanassche@acm.org>
Sun, 10 May 2009 06:37:05 +0000 (06:37 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 10 May 2009 06:37:05 +0000 (06:37 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9813

drd/drd_bitmap.c

index 723df8a09a233580a8ee5a756c492be8cf5dee63..0bec0f5271b75195a9ab84ce848d42aec440eb1b 100644 (file)
@@ -520,12 +520,6 @@ void DRD_(bm_clear)(struct bitmap* const bm, const Addr a1, const Addr a2)
    tl_assert(a1);
    tl_assert(a1 <= a2);
 
-#if 0
-   if (a2 - a1 >= ADDR0_COUNT)
-      VG_(message)(Vg_DebugMsg, "bm_clear(bm = %p, a1 = 0x%lx, a2 = 0x%lx,"
-                   " delta = 0x%lx", bm, a1, a2, a2 - a1);
-#endif
-
    for (b = a1; b < a2; b = b_next)
    {
       struct bitmap2* p2;
@@ -602,12 +596,6 @@ void DRD_(bm_clear_load)(struct bitmap* const bm, const Addr a1, const Addr a2)
    tl_assert(a1);
    tl_assert(a1 <= a2);
 
-#if 0
-   if (a2 - a1 >= ADDR0_COUNT)
-      VG_(message)(Vg_DebugMsg, "bm_clear_load(bm = %p, a1 = 0x%lx, a2 = 0x%lx,"
-                   " delta = 0x%lx", bm, a1, a2, a2 - a1);
-#endif
-
    for (b = a1; b < a2; b = b_next)
    {
       struct bitmap2* p2;
@@ -688,12 +676,6 @@ void DRD_(bm_clear_store)(struct bitmap* const bm,
    tl_assert(a1);
    tl_assert(a1 <= a2);
 
-#if 0
-   if (a2 - a1 >= ADDR0_COUNT)
-      VG_(message)(Vg_DebugMsg, "bm_clear_store(bm = %p, a1 = 0x%lx, a2 = 0x%lx,"
-                   " delta = 0x%lx", bm, a1, a2, a2 - a1);
-#endif
-
    for (b = a1; b < a2; b = b_next)
    {
       struct bitmap2* p2;
@@ -944,18 +926,12 @@ Bool DRD_(bm_equal)(struct bitmap* const lhs, struct bitmap* const rhs)
       if (bm2l_ref == 0)
          break;
       tl_assert(bm2l);
-#if 0
-      VG_(message)(Vg_DebugMsg, "bm_equal: at 0x%lx", bm2l->addr << ADDR0_BITS);
-#endif
 
       do
       {
          bm2r_ref = VG_(OSetGen_Next)(rhs->oset);
          if (bm2r_ref == 0)
          {
-#if 0
-            VG_(message)(Vg_DebugMsg, "bm_equal: no match found");
-#endif
             return False;
          }
          bm2r = bm2r_ref->bm2;
@@ -974,10 +950,6 @@ Bool DRD_(bm_equal)(struct bitmap* const lhs, struct bitmap* const rhs)
           && (bm2l->addr != bm2r->addr
               || VG_(memcmp)(&bm2l->bm1, &bm2r->bm1, sizeof(bm2l->bm1)) != 0))
       {
-#if 0
-         VG_(message)(Vg_DebugMsg, "bm_equal: rhs 0x%lx -- returning false",
-                      bm2r->addr << ADDR0_BITS);
-#endif
          return False;
       }
    }
@@ -993,11 +965,6 @@ Bool DRD_(bm_equal)(struct bitmap* const lhs, struct bitmap* const rhs)
       tl_assert(DRD_(bm_has_any_access)(rhs,
                                         bm2r->addr << ADDR0_BITS,
                                         (bm2r->addr + 1) << ADDR0_BITS));
-#if 0
-      VG_(message)(Vg_DebugMsg,
-                   "bm_equal: remaining rhs 0x%lx -- returning false",
-                   bm2r->addr << ADDR0_BITS);
-#endif
       return False;
    }
    return True;