Initialize the count instance variable.

llvm-svn: 11305
This commit is contained in:
Chris Lattner 2004-02-11 03:29:16 +00:00
parent ea85b486f1
commit ceb4bfebcc

View 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;