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
24749bf9
Commit
24749bf9
authored
Jul 23, 2008
by
Matthias Braun
Browse files
place spill entities at other end of frame
[r20623]
parent
f8351f6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/bespillslots.c
View file @
24749bf9
...
...
@@ -519,7 +519,10 @@ static ir_entity* create_stack_entity(be_fec_env_t *env, spill_slot_t *slot)
{
ir_graph
*
irg
=
be_get_birg_irg
(
env
->
birg
);
ir_type
*
frame
=
get_irg_frame_type
(
irg
);
ir_entity
*
res
=
frame_alloc_area
(
frame
,
slot
->
size
,
slot
->
align
,
0
);
/* TODO: backend should be able to specify wether we want spill slots
* at begin or end of frame */
int
at_start
=
1
;
ir_entity
*
res
=
frame_alloc_area
(
frame
,
slot
->
size
,
slot
->
align
,
at_start
);
/* adjust size of the entity type... */
ir_type
*
enttype
=
get_entity_type
(
res
);
...
...
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