Expose passinfo from BreakCriticalEdges pass so that it may be "Required" by
[oota-llvm.git] / include / llvm / Assembly / CWriter.h
index b42e16c1960a66870fb8c4c143da885c0e155ad7..0608870f47165ba508e3364d9dc2d6e75da90dd5 100644 (file)
@@ -1,21 +1,15 @@
-//===-- llvm/CGen/Writer.h - Printer for VM assembly files -------*- C++ -*--=//
-//
-// This functionality is implemented by the lib/CWriter library.
-// This library is used to print C language files to an iostream. 
+//===-- llvm/Assembly/CWriter.h - C Printer for LLVM programs --*- C++ -*--===//
 //
+// This functionality is implemented by the lib/CWriter library.  This library
+// is used to print C language files to an iostream.
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_C_WRITER_H
-#define LLVM_C_WRITER_H
-
-class Module;
+#ifndef LLVM_ASSEMBLY_CWRITER_H
+#define LLVM_ASSEMBLY_CWRITER_H
 
 #include <iosfwd>
-
-void WriteToC(const Module  *Module, std::ostream &o);
+class Pass;
+Pass *createWriteToCPass(std::ostream &o);
 
 #endif
-
-
-