Implement new method by method assembly output & memory releasing
authorChris Lattner <sabre@nondot.org>
Sun, 3 Feb 2002 07:51:17 +0000 (07:51 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 3 Feb 2002 07:51:17 +0000 (07:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1656 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9Internals.h

index a82d122336c2e5307ddb493d1e578f789b7157d7..fd9f936f5ced1fc5a0d1cf5af068769039f1d840 100644 (file)
@@ -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