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
5b4f6817
Commit
5b4f6817
authored
Oct 27, 2008
by
Michael Beck
Browse files
- used new global resource allocator
[r23238]
parent
64d13bb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/beabi.c
View file @
5b4f6817
...
...
@@ -1485,8 +1485,8 @@ static void lower_frame_sels_walker(ir_node *irn, void *data) {
/* check, if it's a param sel and if have not seen this entity before */
if
(
ptr
==
param_base
&&
ent
!=
ctx
->
value_param_tail
&&
get_entity_link
(
ent
)
==
NULL
)
{
ent
!=
ctx
->
value_param_tail
&&
get_entity_link
(
ent
)
==
NULL
)
{
set_entity_link
(
ent
,
ctx
->
value_param_list
);
ctx
->
value_param_list
=
ent
;
if
(
ctx
->
value_param_tail
==
NULL
)
ctx
->
value_param_tail
=
ent
;
...
...
@@ -1682,6 +1682,7 @@ static void modify_irg(be_abi_irg_t *env)
* memory, which leads to loops in the DAG. */
old_mem
=
get_irg_initial_mem
(
irg
);
irp_reserve_resources
(
irp
,
IR_RESOURCE_ENTITY_LINK
);
/* set the links of all frame entities to NULL, we use it
to detect if an entity is already linked in the value_param_list */
tp
=
get_method_value_param_type
(
method_type
);
...
...
@@ -1719,6 +1720,7 @@ static void modify_irg(be_abi_irg_t *env)
* a backing store into the first block.
*/
fix_address_of_parameter_access
(
env
,
ctx
.
value_param_list
);
irp_free_resources
(
irp
,
IR_RESOURCE_ENTITY_LINK
);
/* Fill the argument vector */
arg_tuple
=
get_irg_args
(
irg
);
...
...
Write
Preview
Markdown
is supported
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