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
2a877611
Commit
2a877611
authored
Nov 08, 2013
by
Matthias Braun
Browse files
no need to set tarval output modes in ia32 backend
parent
1d378318
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/bearch_ia32.c
View file @
2a877611
...
...
@@ -1146,27 +1146,6 @@ static void ia32_prepare_graph(ir_graph *irg)
be_dump
(
DUMP_BE
,
irg
,
"place"
);
}
static
const
tarval_mode_info
mo_integer
=
{
TVO_HEX
,
"0x"
,
NULL
,
};
/*
* set the tarval output mode of all integer modes to decimal
*/
static
void
set_tarval_output_modes
(
void
)
{
size_t
i
;
for
(
i
=
ir_get_n_modes
();
i
>
0
;)
{
ir_mode
*
mode
=
ir_get_mode
(
--
i
);
if
(
mode_is_int
(
mode
))
set_tarval_mode_output_option
(
mode
,
&
mo_integer
);
}
}
extern
const
arch_isa_if_t
ia32_isa_if
;
static
void
init_asm_constraints
(
void
)
...
...
@@ -1529,8 +1508,6 @@ static arch_env_t *ia32_begin_codegeneration(void)
{
ia32_isa_t
*
isa
=
XMALLOC
(
ia32_isa_t
);
set_tarval_output_modes
();
*
isa
=
ia32_isa_template
;
isa
->
tv_ent
=
pmap_create
();
...
...
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