Delete dead code.
[oota-llvm.git] / lib / Support / Allocator.cpp
index e269cf997a08bc07b5547f9bb6f09bec4dffc912..3c4191b805a368eecb820cdecb11dad839ae497a 100644 (file)
@@ -83,6 +83,7 @@ void BumpPtrAllocator::Reset() {
   CurSlab->NextPtr = 0;
   CurPtr = (char*)(CurSlab + 1);
   End = ((char*)CurSlab) + CurSlab->Size;
+  BytesAllocated = 0;
 }
 
 /// Allocate - Allocate space at the specified alignment.