diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-11 03:29:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-11 03:29:16 +0000 |
commit | 82a5ff4c549fd472cbcc5c880048ce4e4488a0f3 (patch) | |
tree | a26d64b0774d989287a8da4013c3194dc0876e80 | |
parent | 6565043120ed6d89514cebc4fc03f908cb397378 (diff) | |
download | llvm-82a5ff4c549fd472cbcc5c880048ce4e4488a0f3.tar.gz llvm-82a5ff4c549fd472cbcc5c880048ce4e4488a0f3.tar.bz2 llvm-82a5ff4c549fd472cbcc5c880048ce4e4488a0f3.tar.xz |
Initialize the count instance variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11305 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Support/Mangler.cpp | 2 | ||||
-rw-r--r-- | 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 699ecd1a65..336066ed86 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<std::string> FoundNames; diff --git a/lib/VMCore/Mangler.cpp b/lib/VMCore/Mangler.cpp index 699ecd1a65..336066ed86 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<std::string> FoundNames; |