mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
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:
parent
6565043120
commit
82a5ff4c54
@ -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;
|
||||
|
@ -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…
Reference in New Issue
Block a user