Commit 8b30eb19 authored by Matthias Braun's avatar Matthias Braun
Browse files

remove old/unused XXX_transform_env_t structs

parent 819e65a1
......@@ -32,7 +32,6 @@
#include "set.h"
typedef struct amd64_isa_t amd64_isa_t;
typedef struct amd64_transform_env_t amd64_transform_env_t;
typedef struct amd64_irg_data_t {
ir_graph *irg; /**< current irg */
......@@ -45,18 +44,6 @@ struct amd64_isa_t {
arch_env_t base; /**< must be derived from arch_isa */
};
/**
* this is a struct to minimize the number of parameters
* for transformation walker
*/
struct amd64_transform_env_t {
dbg_info *dbg; /**< The node debug info */
ir_graph *irg; /**< The irg, the node should be created in */
ir_node *block; /**< The block, the node should belong to */
ir_node *irn; /**< The irn, to be transformed */
ir_mode *mode; /**< The mode of the irn */
};
static inline amd64_irg_data_t *amd64_get_irg_data(const ir_graph *irg)
{
return (amd64_irg_data_t*) be_birg_from_irg(irg)->isa_link;
......
......@@ -30,7 +30,6 @@
#include "sparc_nodes_attr.h"
#include "be.h"
typedef struct sparc_transform_env_t sparc_transform_env_t;
typedef struct sparc_isa_t sparc_isa_t;
typedef struct calling_convention_t calling_convention_t;
......@@ -47,18 +46,6 @@ struct sparc_isa_t {
int fpu_arch; /**< FPU architecture */
};
/**
* this is a struct to minimize the number of parameters
* for transformation walker
*/
struct sparc_transform_env_t {
dbg_info *dbg; /**< The node debug info */
ir_graph *irg; /**< The irg, the node should be created in */
ir_node *block; /**< The block, the node should belong to */
ir_node *irn; /**< The irn, to be transformed */
ir_mode *mode; /**< The mode of the irn */
};
extern const arch_irn_ops_t sparc_irn_ops;
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment