Use be_emit_irprintf("%T", x) instead of be_emit_tarval().
authorChristoph Mallon <christoph.mallon@gmx.de>
Sun, 13 May 2012 20:51:54 +0000 (22:51 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sun, 13 May 2012 20:51:54 +0000 (22:51 +0200)
ir/be/TEMPLATE/TEMPLATE_emitter.c

index 195e80a..0a8f010 100644 (file)
@@ -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)