Add emitAssembly Method
authorChris Lattner <sabre@nondot.org>
Wed, 19 Sep 2001 13:54:19 +0000 (13:54 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 19 Sep 2001 13:54:19 +0000 (13:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@639 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetMachine.h

index 81182f581424c9ade305f2a2ea54af97e5c6986d..3bca03ec2d7caf91d998c880634f04c20a3c83bb 100644 (file)
@@ -9,7 +9,6 @@
 
 #include "llvm/Target/TargetData.h"
 #include "llvm/Support/NonCopyable.h"
-#include <string>
 
 class TargetMachine;
 class MachineInstrInfo;
@@ -62,9 +61,7 @@ public:
   // -- Register information
   // 
   virtual const MachineInstrInfo&      getInstrInfo() const = 0;
-
   virtual const MachineSchedInfo&      getSchedInfo() const = 0;
-  
   virtual const MachineRegInfo&                getRegInfo()   const = 0;
   
   //
@@ -85,7 +82,7 @@ public:
   // method. The specified method must have been compiled before this may be
   // used.
   //
-  virtual void emitAssembly(Method *M, ostream &OutStr) {  /* todo */ }
+  virtual void emitAssembly(const Module *M, ostream &OutStr) = 0;
 };
 
 #endif