|
From: <sv...@va...> - 2008-03-25 17:03:02
|
Author: bart
Date: 2008-03-25 17:03:01 +0000 (Tue, 25 Mar 2008)
New Revision: 7787
Log:
Removed unused function.
Modified:
trunk/exp-drd/drd_bitmap.c
trunk/exp-drd/pub_drd_bitmap.h
Modified: trunk/exp-drd/drd_bitmap.c
===================================================================
--- trunk/exp-drd/drd_bitmap.c 2008-03-24 19:38:57 UTC (rev 7786)
+++ trunk/exp-drd/drd_bitmap.c 2008-03-25 17:03:01 UTC (rev 7787)
@@ -401,25 +401,6 @@
bm1->bm0_w[idx] &= ~mask;
}
-void bm_clear_all(const struct bitmap* const bm)
-{
- struct bitmap2* bm2;
- struct bitmap2ref* bm2ref;
-
- VG_(OSetGen_ResetIter)(bm->oset);
-
- for ( ; (bm2ref = VG_(OSetGen_Next)(bm->oset)) != 0; )
- {
- struct bitmap1* bm1;
-
- bm2 = bm2ref->bm2;
- bm1 = &bm2->bm1;
- tl_assert(bm1);
- VG_(memset)(&bm1->bm0_r[0], 0, sizeof(bm1->bm0_r));
- VG_(memset)(&bm1->bm0_w[0], 0, sizeof(bm1->bm0_w));
- }
-}
-
void bm_clear(const struct bitmap* const bm,
const Addr a1,
const Addr a2)
Modified: trunk/exp-drd/pub_drd_bitmap.h
===================================================================
--- trunk/exp-drd/pub_drd_bitmap.h 2008-03-24 19:38:57 UTC (rev 7786)
+++ trunk/exp-drd/pub_drd_bitmap.h 2008-03-25 17:03:01 UTC (rev 7787)
@@ -78,7 +78,6 @@
const Addr a1, const Addr a2);
UWord bm_has_1(const struct bitmap* const bm,
const Addr address, const BmAccessTypeT access_type);
-void bm_clear_all(const struct bitmap* const bm);
void bm_clear(const struct bitmap* const bm,
const Addr a1, const Addr a2);
Bool bm_has_conflict_with(const struct bitmap* const bm,
|