MEGAPATCH checkin.

For details, See: docs/2002-06-25-MegaPatchInfo.txt


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2778 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/IPO/SimpleStructMutation.cpp b/lib/Transforms/IPO/SimpleStructMutation.cpp
index 908b5b1..7f18f31 100644
--- a/lib/Transforms/IPO/SimpleStructMutation.cpp
+++ b/lib/Transforms/IPO/SimpleStructMutation.cpp
@@ -32,7 +32,7 @@
     
     const char *getPassName() const { return "Simple Struct Mutation"; }
     
-    virtual bool run(Module *M) {
+    virtual bool run(Module &M) {
       setTransforms(getTransforms(M, CurrentXForm));
       bool Changed = MutateStructTypes::run(M);
       clearTransforms();
@@ -49,7 +49,7 @@
     }
     
   private:
-    TransformsType getTransforms(Module *M, enum Transform);
+    TransformsType getTransforms(Module &M, enum Transform);
   };
 }  // end anonymous namespace
 
@@ -124,7 +124,7 @@
 
 
 SimpleStructMutation::TransformsType
-  SimpleStructMutation::getTransforms(Module *M, enum Transform XForm) {
+  SimpleStructMutation::getTransforms(Module &, enum Transform XForm) {
   // We need to know which types to modify, and which types we CAN'T modify
   // TODO: Do symbol tables as well