summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-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