Fixed name mangling for private entities
[libfirm] / ir / be / ppc32 / bearch_ppc32_t.h
index 9a8bf14..0b078c1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -29,7 +29,9 @@
 #include "debug.h"
 #include "bearch_ppc32.h"
 #include "ppc32_nodes_attr.h"
-#include "../be.h"
+#include "be.h"
+#include "../beemitter.h"
+#include "pset.h"
 #include "set.h"
 
 typedef struct _ppc32_isa_t ppc32_isa_t;
@@ -37,11 +39,9 @@ typedef struct _ppc32_isa_t ppc32_isa_t;
 typedef struct _ppc32_code_gen_t {
        const arch_code_generator_if_t *impl;             /**< implementation */
        ir_graph                       *irg;              /**< current irg */
-       const arch_env_t               *arch_env;         /**< the arch env */
        set                            *reg_set;          /**< set to memorize registers for FIRM nodes (e.g. phi) */
-       int                             emit_decls;       /**< flag indicating if decls were already emitted */
        ppc32_isa_t                    *isa;              /**< the isa instance */
-       const be_irg_t                 *birg;             /**< The be-irg (contains additional information about the irg) */
+       be_irg_t                       *birg;             /**< The be-irg (contains additional information about the irg) */
        unsigned                        area_size;        /**< size of call area for the current irg */
        ir_entity                      *area;             /**< the entity representing the call area or NULL for leaf functions */
        ir_node                        *start_succ_block; /**< the block succeeding the start block in the cfg */
@@ -51,21 +51,11 @@ typedef struct _ppc32_code_gen_t {
 
 
 struct _ppc32_isa_t {
-       const arch_isa_if_t   *impl;
-       const arch_register_t *sp;            /**< The stack pointer register. */
-       const arch_register_t *bp;            /**< The base pointer register. */
-       const int              stack_dir;     /**< -1 for decreasing, 1 for increasing. */
-       int                    num_codegens;
-       FILE                   *out;          /**< output file */
+       arch_env_t             arch_env;      /**< must be derived from arch_env_t */
+       pset                   *symbol_set;   /**< A set containing the indirect symbols. */
 };
 
 
-typedef struct _ppc32_irn_ops_t {
-       const arch_irn_ops_if_t *impl;
-       ppc32_code_gen_t     *cg;
-} ppc32_irn_ops_t;
-
-
 /** this is a struct to minimize the number of parameters
    for transformation walker */
 typedef struct _ppc32_transform_env_t {