summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-03 07:51:17 +0000
committerChris Lattner <sabre@nondot.org>2002-02-03 07:51:17 +0000
commit92a49c5cae57f6efd085bfb0c9ec1ccf2dfa1f5f (patch)
treef8ce4c17395c3a838a98893b283c5504f5b8bd51
parent477923d0d4b096d33b6f379984d74bec092b8327 (diff)
downloadbcm5719-llvm-92a49c5cae57f6efd085bfb0c9ec1ccf2dfa1f5f.tar.gz
bcm5719-llvm-92a49c5cae57f6efd085bfb0c9ec1ccf2dfa1f5f.zip
Implement new method by method assembly output & memory releasing
llvm-svn: 1656
-rw-r--r--llvm/lib/Target/Sparc/SparcInternals.h14
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
OpenPOWER on IntegriCloud