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
14b3c4c7
Commit
14b3c4c7
authored
Oct 03, 2014
by
Matthias Braun
Browse files
ia32: fix array argument calling convention (complex numbers)
parent
a5c44f6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_cconv.c
View file @
14b3c4c7
...
...
@@ -144,7 +144,7 @@ ia32_cconv_t *ia32_decide_calling_convention(ir_type *function_type,
for
(
unsigned
i
=
0
;
i
<
n_params
;
++
i
)
{
ir_type
*
param_type
=
get_method_param_type
(
function_type
,
i
);
reg_or_stackslot_t
*
param
=
&
params
[
i
];
if
(
is_
compound
_type
(
param_type
))
{
if
(
is_
aggregate
_type
(
param_type
))
{
param
->
type
=
param_type
;
param
->
offset
=
stack_offset
;
stack_offset
+=
get_type_size_bytes
(
param_type
);
...
...
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