Commit 77daf5e6 authored by Michael Beck's avatar Michael Beck
Browse files

- fixed ir_printf format (%lu and %ld now working)

[r20256]
parent ce692f58
......@@ -286,7 +286,7 @@ const char *be_gas_insn_label_prefix(void) {
* Dump a label.
*/
static void dump_label(ir_label_t label) {
be_emit_irprintf("%s%u", be_gas_block_label_prefix(), label);
be_emit_irprintf("%s%lu", be_gas_block_label_prefix(), label);
}
/**
......
......@@ -736,10 +736,10 @@ static void ia32_emit_block_name(const ir_node *block)
{
if (has_Block_label(block)) {
be_emit_string(be_gas_block_label_prefix());
be_emit_irprintf("%u", get_Block_label(block));
be_emit_irprintf("%lu", get_Block_label(block));
} else {
be_emit_cstring(BLOCK_PREFIX);
be_emit_irprintf("%d", get_irn_node_nr(block));
be_emit_irprintf("%ld", get_irn_node_nr(block));
}
}
......@@ -749,7 +749,7 @@ static void ia32_emit_block_name(const ir_node *block)
static void ia32_emit_exc_label(const ir_node *node)
{
be_emit_string(be_gas_insn_label_prefix());
be_emit_irprintf("%u", get_ia32_exc_label_id(node));
be_emit_irprintf("%lu", get_ia32_exc_label_id(node));
}
/**
......
......@@ -436,7 +436,7 @@ static void mips_emit_block_label(const ir_node *block)
be_emit_irprintf("%lu", get_Block_label(block));
} else {
be_emit_cstring(BLOCK_PREFIX);
be_emit_irprintf("%d", get_irn_node_nr(block));
be_emit_irprintf("%ld", get_irn_node_nr(block));
}
}
......
Supports Markdown
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