Commit 99b96354 authored by Michael Beck's avatar Michael Beck
Browse files

removed unused proj_args of a graph

[r16558]
parent e42623e1
......@@ -259,7 +259,6 @@ ir_graph *new_r_ir_graph(ir_entity *ent, int n_loc) {
#ifdef DEBUG_libfirm
res->graph_nr = get_irp_new_node_nr();
#endif
res->proj_args = NULL;
/*
* The code generation needs it. leave it in now.
......@@ -545,16 +544,6 @@ void
_set_irg_value_param_base(irg, node);
}
ir_node **
(get_irg_proj_args) (const ir_graph *irg) {
return _get_irg_proj_args (irg);
}
void
(set_irg_proj_args) (ir_graph *irg, ir_node **nodes) {
_set_irg_proj_args (irg, nodes);
}
ir_node *
(get_irg_bad)(const ir_graph *irg) {
return _get_irg_bad(irg);
......
......@@ -209,16 +209,6 @@ _set_irg_value_param_base(ir_graph *irg, ir_node *node) {
set_irn_n(irg->anchor, anchor_value_param_base, node);
}
static INLINE ir_node **
_get_irg_proj_args(const ir_graph *irg) {
return irg->proj_args;
}
static INLINE void
_set_irg_proj_args(ir_graph *irg, ir_node **nodes) {
irg->proj_args = nodes;
}
static INLINE ir_node *
_get_irg_bad(const ir_graph *irg) {
return get_irn_intra_n(irg->anchor, anchor_bad);
......
......@@ -416,8 +416,7 @@ struct ir_graph {
class it belongs to. */
ir_type *frame_type; /**< A class type representing the stack frame.
Can include "inner" methods. */
ir_node *anchor; /**< The anchor node. */
ir_node **proj_args; /**< Projs of the methods arguments. */
ir_node *anchor; /**< Pointer to the anchor node of this graph. */
struct obstack *obst; /**< The obstack where all of the ir_nodes live. */
ir_node *current_block; /**< Current block for newly gen_*()-erated ir_nodes. */
struct obstack *extbb_obst; /**< The obstack for extended basic block info. */
......
Markdown is supported
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