Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libfirm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zwinkau
libfirm
Commits
39503e51
Commit
39503e51
authored
Jan 29, 2017
by
Christoph Mallon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
be: Restore be_set_va_list_type_pointer().
It was accidentally removed in
ec7cfdce
.
parent
10cf7232
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
+9
-4
ir/be/bevarargs.c
ir/be/bevarargs.c
+5
-0
ir/be/bevarargs.h
ir/be/bevarargs.h
+2
-0
ir/be/ia32/ia32_bearch.c
ir/be/ia32/ia32_bearch.c
+1
-3
ir/be/sparc/sparc_bearch.c
ir/be/sparc/sparc_bearch.c
+1
-1
No files found.
ir/be/bevarargs.c
View file @
39503e51
...
...
@@ -65,3 +65,8 @@ ir_entity *be_make_va_start_entity(ir_type *const frame_type, int const offset)
set_entity_offset
(
va_start
,
offset
);
return
va_start
;
}
void
be_set_va_list_type_pointer
(
backend_params
*
const
p
)
{
p
->
va_list_type
=
new_type_pointer
(
get_type_for_mode
(
mode_ANY
));
}
ir/be/bevarargs.h
View file @
39503e51
...
...
@@ -37,4 +37,6 @@ void be_set_va_list_type_pointer(backend_params *p);
ir_entity
*
be_make_va_start_entity
(
ir_type
*
frame_type
,
int
offset
);
void
be_set_va_list_type_pointer
(
backend_params
*
p
);
#endif
ir/be/ia32/ia32_bearch.c
View file @
39503e51
...
...
@@ -1374,9 +1374,7 @@ static void ia32_init(void)
ia32_mode_float32
=
new_float_mode
(
"fp32"
,
irma_ieee754
,
8
,
23
,
ir_overflow_indefinite
);
// va_list is a void pointer
ir_type
*
type_va_list
=
new_type_pointer
(
get_type_for_mode
(
mode_ANY
));
ia32_backend_params
.
va_list_type
=
type_va_list
;
be_set_va_list_type_pointer
(
&
ia32_backend_params
);
if
(
ia32_cg_config
.
use_sse2
||
ia32_cg_config
.
use_softfloat
)
{
ia32_backend_params
.
mode_float_arithmetic
=
NULL
;
...
...
ir/be/sparc/sparc_bearch.c
View file @
39503e51
...
...
@@ -558,7 +558,7 @@ static const backend_params *sparc_get_backend_params(void)
.
float_int_overflow
=
ir_overflow_min_max
,
};
p
.
va_list_type
=
new_type_pointer
(
get_type_for_mode
(
mode_ANY
)
);
be_set_va_list_type_pointer
(
&
p
);
sparc_mode_Q
=
new_float_mode
(
"Q"
,
irma_ieee754
,
15
,
112
,
ir_overflow_min_max
);
...
...
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