[llvm-commits] CVS: llvm/lib/Support/Mangler.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Feb 10 21:30:02 PST 2004


Changes in directory llvm/lib/Support:

Mangler.cpp updated: 1.8 -> 1.9

---
Log message:

Initialize the count instance variable.


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Support/Mangler.cpp
diff -u llvm/lib/Support/Mangler.cpp:1.8 llvm/lib/Support/Mangler.cpp:1.9
--- llvm/lib/Support/Mangler.cpp:1.8	Sun Dec 14 15:35:53 2003
+++ llvm/lib/Support/Mangler.cpp	Tue Feb 10 21:29:16 2004
@@ -81,7 +81,7 @@
 }
 
 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;





More information about the llvm-commits mailing list