diff options
author | Chris Lattner <sabre@nondot.org> | 2002-02-03 07:51:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-02-03 07:51:17 +0000 |
commit | 92a49c5cae57f6efd085bfb0c9ec1ccf2dfa1f5f (patch) | |
tree | f8ce4c17395c3a838a98893b283c5504f5b8bd51 /llvm/lib/Target/Sparc | |
parent | 477923d0d4b096d33b6f379984d74bec092b8327 (diff) | |
download | bcm5719-llvm-92a49c5cae57f6efd085bfb0c9ec1ccf2dfa1f5f.tar.gz bcm5719-llvm-92a49c5cae57f6efd085bfb0c9ec1ccf2dfa1f5f.zip |
Implement new method by method assembly output & memory releasing
llvm-svn: 1656
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r-- | llvm/lib/Target/Sparc/SparcInternals.h | 14 |
1 files changed, 13 insertions, 1 deletions
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 |