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
a1059395
Commit
a1059395
authored
Apr 07, 2014
by
Matthias Braun
Browse files
bespillslots: use type size, not mode size
parent
043fc8b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/bespillslots.c
View file @
a1059395
...
...
@@ -562,10 +562,9 @@ static void assign_spillslots(be_fec_env_t *env)
int
slotid
=
spill
->
spillslot
;
const
spillweb_t
*
web
=
get_spill_web
(
spill
->
web
);
const
ir_type
*
type
=
web
->
type
;
const
ir_mode
*
mode
=
get_type_mode
(
type
);
spill_slot_t
*
slot
=
&
spillslots
[
slotid
];
int
size
=
get_mode_size_bytes
(
mode
);
int
size
=
get_type_size_bytes
(
type
);
int
align
=
get_type_alignment_bytes
(
type
);
spill_slot_t
*
slot
=
&
spillslots
[
slotid
];
if
(
slot
->
align
==
0
&&
slot
->
size
==
0
)
{
slot
->
align
=
align
;
...
...
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