Commit 2a877611 authored by Matthias Braun's avatar Matthias Braun
Browse files

no need to set tarval output modes in ia32 backend

parent 1d378318
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment