From 82a5ff4c549fd472cbcc5c880048ce4e4488a0f3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 11 Feb 2004 03:29:16 +0000 Subject: [PATCH] Initialize the count instance variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11305 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Mangler.cpp | 2 +- lib/VMCore/Mangler.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Support/Mangler.cpp b/lib/Support/Mangler.cpp index 699ecd1a651..336066ed869 100644 --- a/lib/Support/Mangler.cpp +++ b/lib/Support/Mangler.cpp @@ -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 FoundNames; diff --git a/lib/VMCore/Mangler.cpp b/lib/VMCore/Mangler.cpp index 699ecd1a651..336066ed869 100644 --- a/lib/VMCore/Mangler.cpp +++ b/lib/VMCore/Mangler.cpp @@ -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 FoundNames;