From 52c3e98826cc98ac5d570722c353e4d73f6275c4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 19 Sep 2001 13:54:19 +0000 Subject: [PATCH] Add emitAssembly Method llvm-svn: 639 --- llvm/include/llvm/Target/TargetMachine.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/llvm/include/llvm/Target/TargetMachine.h b/llvm/include/llvm/Target/TargetMachine.h index 81182f581424..3bca03ec2d7c 100644 --- a/llvm/include/llvm/Target/TargetMachine.h +++ b/llvm/include/llvm/Target/TargetMachine.h @@ -9,7 +9,6 @@ #include "llvm/Target/TargetData.h" #include "llvm/Support/NonCopyable.h" -#include 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