Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
5f96b99f
Commit
5f96b99f
authored
Sep 27, 2011
by
Matthias Braun
Browse files
sparc: va_arg functions may not use omit-fp
parent
e6e3d7a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/sparc/sparc_cconv.c
View file @
5f96b99f
...
...
@@ -196,7 +196,13 @@ calling_convention_t *sparc_decide_calling_convention(ir_type *function_type,
if
(
irg
!=
NULL
)
{
const
be_options_t
*
options
=
be_get_irg_options
(
irg
);
omit_fp
=
options
->
omit_fp
;
irg_walk_graph
(
irg
,
check_omit_fp
,
NULL
,
&
omit_fp
);
/* our current vaarg handling needs the standard space to store the
* args 0-5 in it */
if
(
get_method_variadicity
(
function_type
)
==
variadicity_variadic
)
omit_fp
=
false
;
if
(
omit_fp
==
true
)
{
irg_walk_graph
(
irg
,
check_omit_fp
,
NULL
,
&
omit_fp
);
}
}
caller_saves
=
rbitset_malloc
(
N_SPARC_REGISTERS
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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