From a40c3dd5c4a08b59dc9b0634f1ba1355b038b59a Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 26 Jan 2009 23:47:30 +0000 Subject: No need to keep size of DebugLocations vector separately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63070 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/DebugLoc.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/llvm/CodeGen/DebugLoc.h') diff --git a/include/llvm/CodeGen/DebugLoc.h b/include/llvm/CodeGen/DebugLoc.h index b6097afe30..baf6583a8b 100644 --- a/include/llvm/CodeGen/DebugLoc.h +++ b/include/llvm/CodeGen/DebugLoc.h @@ -69,9 +69,6 @@ namespace llvm { /// DebugLocTracker - This class tracks debug location information. /// struct DebugLocTracker { - // NumDebugLocations - Size of the DebugLocations vector. - unsigned NumDebugLocations; - // DebugLocations - A vector of unique DebugLocTuple's. // std::vector DebugLocations; @@ -80,7 +77,7 @@ namespace llvm { // DebugLocations vector. DebugIdMapType DebugIdMap; - DebugLocTracker() : NumDebugLocations(0) {} + DebugLocTracker() {} ~DebugLocTracker() { DebugLocations.clear(); -- cgit v1.2.3