mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-13 07:00:59 +00:00
Initialize the count instance variable.
llvm-svn: 11305
This commit is contained in:
parent
ea85b486f1
commit
ceb4bfebcc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user