removed unused proj_args of a graph
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 16 Nov 2007 15:35:50 +0000 (15:35 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 16 Nov 2007 15:35:50 +0000 (15:35 +0000)
[r16558]

ir/ir/irgraph.c
ir/ir/irgraph_t.h
ir/ir/irtypes.h

index c20c61f..24fedff 100644 (file)
@@ -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);
index c4411ad..9fc51f3 100644 (file)
@@ -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);
index a23a85b..f68f702 100644 (file)
@@ -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. */