aboutsummaryrefslogtreecommitdiff
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
commit6edfcc578dad7c4dbce6180b8f3eb213392811f3 (patch)
tree8fcd917ae1d60022257952b8801acd730ecf4755
parent9c461083e1311efe9ce7f7b01df7bdc5c4de543e (diff)
Implement new method by method assembly output & memory releasing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1656 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/SparcV9/SparcV9Internals.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/SparcV9Internals.h b/lib/Target/SparcV9/SparcV9Internals.h
index a82d122336..fd9f936f5c 100644
--- a/lib/Target/SparcV9/SparcV9Internals.h
+++ b/lib/Target/SparcV9/SparcV9Internals.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