fix uninit member, thanks to Benjamin Kramer for identifying the bug.

llvm-svn: 93691
This commit is contained in:
Chris Lattner 2010-01-17 19:24:35 +00:00
parent 83e872e1c4
commit dfc5cbe2a1
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ private:
public:
// Mangler ctor - if a prefix is specified, it will be prepended onto all
// symbols.
Mangler(const MCAsmInfo &mai) : MAI(mai) {}
Mangler(const MCAsmInfo &mai) : MAI(mai), NextAnonGlobalID(0) {}
/// getNameWithPrefix - Fill OutName with the name of the appropriate prefix
/// and the specified global variable's name. If the global variable doesn't