From 92a49c5cae57f6efd085bfb0c9ec1ccf2dfa1f5f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 3 Feb 2002 07:51:17 +0000 Subject: Implement new method by method assembly output & memory releasing llvm-svn: 1656 --- llvm/lib/Target/Sparc/SparcInternals.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'llvm/lib/Target/Sparc') diff --git a/llvm/lib/Target/Sparc/SparcInternals.h b/llvm/lib/Target/Sparc/SparcInternals.h index a82d122336c..fd9f936f5ce 100644 --- a/llvm/lib/Target/Sparc/SparcInternals.h +++ b/llvm/lib/Target/Sparc/SparcInternals.h @@ -1435,8 +1435,20 @@ public: // module. The specified module must have been compiled before this may be // used. // + virtual void emitAssembly(const Method *M, std::ostream &OutStr) const; + + // + // emitAssembly - Output assembly language code (a .s file) for global + // components of the specified module. This assumes that methods have been + // previously output. + // virtual void emitAssembly(const Module *M, std::ostream &OutStr) const; -}; + // + // freeCompiledMethod - Release all memory associated with the compiled image + // for this method. + // + virtual void freeCompiledMethod(Method *M); +}; #endif -- cgit v1.2.3