summaryrefslogtreecommitdiffhomepage
path: root/ir/be
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2019-04-01 20:38:53 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2019-04-01 20:41:33 +0200
commitc2e59e88e4c95a3f626d22cd02ce86406888c41f (patch)
tree562b3207589075500dc02a99785430c1318e4c56 /ir/be
parent320a90c563d351304483b61d009a7ce0ef04cb6e (diff)
be: Dump the text template of be_Asm.
Diffstat (limited to 'ir/be')
-rw-r--r--ir/be/benode.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ir/be/benode.c b/ir/be/benode.c
index f26a654..5879123 100644
--- a/ir/be/benode.c
+++ b/ir/be/benode.c
@@ -575,7 +575,10 @@ static void be_dump_node(FILE *f, const ir_node *irn, dump_reason_t reason)
}
break;
case dump_node_info_txt:
- if (be_is_IncSP(irn)) {
+ if (be_is_Asm(irn)) {
+ be_asm_attr_t const *const attr = get_be_asm_attr_const(irn);
+ fprintf(f, "assembler text: %s\n", get_id_str(attr->text));
+ } else if (be_is_IncSP(irn)) {
const be_incsp_attr_t *a
= (const be_incsp_attr_t*)get_irn_generic_attr_const(irn);
fprintf(f, "no_align: %s\n", be_dump_yesno(a->no_align));