Initialize the count instance variable.
authorChris Lattner <sabre@nondot.org>
Wed, 11 Feb 2004 03:29:16 +0000 (03:29 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 11 Feb 2004 03:29:16 +0000 (03:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11305 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Mangler.cpp
lib/VMCore/Mangler.cpp

index 699ecd1a651821c8bbab5206fa89b702d71c9cc2..336066ed8690eaa79abb24408ab9f34cbcff3913 100644 (file)
@@ -81,7 +81,7 @@ std::string Mangler::getValueName(const Value *V) {
 }
 
 Mangler::Mangler(Module &m, bool addUnderscorePrefix)
-  : M(m), AddUnderscorePrefix(addUnderscorePrefix) {
+  : M(m), AddUnderscorePrefix(addUnderscorePrefix), Count(0) {
   // Calculate which global values have names that will collide when we throw
   // away type information.
   std::set<std::string> FoundNames;
index 699ecd1a651821c8bbab5206fa89b702d71c9cc2..336066ed8690eaa79abb24408ab9f34cbcff3913 100644 (file)
@@ -81,7 +81,7 @@ std::string Mangler::getValueName(const Value *V) {
 }
 
 Mangler::Mangler(Module &m, bool addUnderscorePrefix)
-  : M(m), AddUnderscorePrefix(addUnderscorePrefix) {
+  : M(m), AddUnderscorePrefix(addUnderscorePrefix), Count(0) {
   // Calculate which global values have names that will collide when we throw
   // away type information.
   std::set<std::string> FoundNames;