Remove the Module pointer from GCStrategy and GCMetadataPrinter
[oota-llvm.git] / include / llvm / CodeGen / GCStrategy.h
index 81e1f85286e191c0958ed2c8f5393bc99f8ed854..fa6c6f5d275e81fe891e71ade0b1e8ffa2df0841 100644 (file)
@@ -59,7 +59,6 @@ namespace llvm {
     
   private:
     friend class GCModuleInfo;
-    const Module *M;
     std::string Name;
     
     list_type Functions;
@@ -84,10 +83,6 @@ namespace llvm {
     /// 
     const std::string &getName() const { return Name; }
 
-    /// getModule - The module within which the GC strategy is operating.
-    /// 
-    const Module &getModule() const { return *M; }
-
     /// needsSafePoitns - True if safe points of any kind are required. By
     //                    default, none are recorded.
     bool needsSafePoints() const {