Expose passinfo from BreakCriticalEdges pass so that it may be "Required" by
[oota-llvm.git] / include / llvm / Assembly / CachedWriter.h
index f78df1a5912a7cc2a3944de6e540931d274997d1..c1ef1037ee3f1f16ae9b7e03ec43bed74526956b 100644 (file)
 #include "llvm/Value.h"
 #include <iostream>
 
-class GlobalVariable;
-class Function;
-class Argument;
-class BasicBlock;
-class Instruction;
-class Constant;
+class Module;
 class PointerType;
 class SlotCalculator;
-
-
 class AssemblyWriter;  // Internal private class
 
 class CachedWriter {
@@ -46,9 +39,6 @@ public:
   inline CachedWriter &operator<<(Value *X) {
     return *this << (const Value*)X;
   }
-  inline CachedWriter &operator<<(const Module *X) {
-    return *this << (const Value*)X;
-  }
   inline CachedWriter &operator<<(const GlobalVariable *X) {
     return *this << (const Value*)X;
   }