Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
99b96354
Commit
99b96354
authored
Nov 16, 2007
by
Michael Beck
Browse files
removed unused proj_args of a graph
[r16558]
parent
e42623e1
Changes
3
Show whitespace changes
Inline
Side-by-side
ir/ir/irgraph.c
View file @
99b96354
...
...
@@ -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
);
...
...
ir/ir/irgraph_t.h
View file @
99b96354
...
...
@@ -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
);
...
...
ir/ir/irtypes.h
View file @
99b96354
...
...
@@ -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. */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment