added a codegen function to the isa interface
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Tue, 22 Nov 2005 09:34:29 +0000 (09:34 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Tue, 22 Nov 2005 09:34:29 +0000 (09:34 +0000)
ir/be/bearch.h

index 113eb98..16013fc 100644 (file)
@@ -481,6 +481,13 @@ struct _arch_isa_if_t {
    * (May be NULL).
    */
   const arch_irn_handler_t *irn_handler;
+
+  /**
+   * The code generation function for this architecture.
+   * (May be NULL)
+   * @param out The output file
+   */
+  void (*codegen)(FILE *out);
 };
 
 #define ARCH_MAX_HANDLERS         8