Initialize the count instance variable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11305 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-02-11 03:29:16 +00:00
parent 6565043120
commit 82a5ff4c54
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ std::string Mangler::getValueName(const Value *V) {
} }
Mangler::Mangler(Module &m, bool addUnderscorePrefix) 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 // Calculate which global values have names that will collide when we throw
// away type information. // away type information.
std::set<std::string> FoundNames; std::set<std::string> FoundNames;

View File

@ -81,7 +81,7 @@ std::string Mangler::getValueName(const Value *V) {
} }
Mangler::Mangler(Module &m, bool addUnderscorePrefix) 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 // Calculate which global values have names that will collide when we throw
// away type information. // away type information.
std::set<std::string> FoundNames; std::set<std::string> FoundNames;