From 8711df01fa5919e55a10ac1e8a594bde1a2b6e46 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sun, 13 May 2012 22:51:54 +0200 Subject: [PATCH] Use be_emit_irprintf("%T", x) instead of be_emit_tarval(). --- ir/be/TEMPLATE/TEMPLATE_emitter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/be/TEMPLATE/TEMPLATE_emitter.c b/ir/be/TEMPLATE/TEMPLATE_emitter.c index 195e80af8..0a8f0108c 100644 --- a/ir/be/TEMPLATE/TEMPLATE_emitter.c +++ b/ir/be/TEMPLATE/TEMPLATE_emitter.c @@ -49,7 +49,7 @@ void TEMPLATE_emit_immediate(const ir_node *node) { const TEMPLATE_attr_t *attr = get_TEMPLATE_attr_const(node); - be_emit_tarval(attr->value); + be_emit_irprintf("%T", attr->value); } static void emit_register(const arch_register_t *reg) -- 2.20.1