remove the M instance var
authorChris Lattner <sabre@nondot.org>
Thu, 10 Nov 2005 19:02:18 +0000 (19:02 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 10 Nov 2005 19:02:18 +0000 (19:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24281 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Mangler.cpp

index d95853815082233782f487d3a7cfaa84173066f0..03111803186157d15338d72714fe130b9f42b19a 100644 (file)
@@ -118,8 +118,8 @@ void Mangler::InsertName(GlobalValue *GV,
 }
 
 
-Mangler::Mangler(Module &m, const char *prefix)
-  : M(m), Prefix(prefix), TypeCounter(0), Count(0) {
+Mangler::Mangler(Module &M, const char *prefix)
+  : Prefix(prefix), Count(0), TypeCounter(0) {
   // Calculate which global values have names that will collide when we throw
   // away type information.
   std::map<std::string, GlobalValue*> Names;