aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Support/Mangler.cpp2
-rw-r--r--lib/VMCore/Mangler.cpp2
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;